History log of /external/autotest/client/site_tests/desktopui_UrlFetchWithChromeDriver/desktopui_UrlFetchWithChromeDriver.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c1d263b436976b7516f77e84386ec0fbe2b3cfbe 05-Oct-2013 Dan Shi <dshi@chromium.org> [autotest] add a wrapper for client side chrome driver based test

client/common_lib/cros/chromedriver.py
|chromedriver| is a wrapper class for any client side test that wants to use
Chrome Driver to interact with the browser. The wrapper class handles log in
with Telemtry when an instance of chrome_driver is instantiated. It exposes a
property |driver| for test to call methods of Chrome Driver.

|chromedriver_server| is a wrapper class to start/stop chromedriver server in
remote mode. That is, ChromeOS logged in with debugging port opened using
Telemetry, Chrome Driver started by specifying the remote debug port of Chrome
browser.

client/site_tests/desktopui_UrlFetchWithChromeDriver
A sample test that use Chrome Driver/Selenium to test browser url and cookie.
This test takes following test as an example, which uses pyauto.
client/site_tests/desktopui_UrlFetch

related CL that adds Chrome Driver to test image:
https://chromium-review.googlesource.com/#/c/173183/

TODO(dshi)> another CL will be added to add desktopui_UrlFetchWithChromeDriver
to ebuild: chromeos-base/autotest-chrome/autotest-chrome-9999.ebuild

BUG=chromium:289702
TEST=test_that 172.22.75.225 desktopui_UrlFetchWithChromeDriver
trybot build: Tested in build trybot-lumpy-paladin/R32-4831.0.0-b1336

Change-Id: I8d3ec8a8bd3e14cdc4cc5d9c76f19a422ad0e00b
Reviewed-on: https://chromium-review.googlesource.com/172082
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Tested-by: Dan Shi <dshi@chromium.org>
Commit-Queue: Dan Shi <dshi@chromium.org>
/external/autotest/client/site_tests/desktopui_UrlFetchWithChromeDriver/desktopui_UrlFetchWithChromeDriver.py