control-freak-ide/server/nodejs/util/doh/plugins
plastic-hub-dev-node-saturn 538369cff7 latest
2021-05-12 18:35:18 +02:00
..
alwaysAudio.js latest 2021-05-12 18:35:18 +02:00
android-webdriver-robot.html latest 2021-05-12 18:35:18 +02:00
android-webdriver-robot.js latest 2021-05-12 18:35:18 +02:00
hello.js latest 2021-05-12 18:35:18 +02:00
README.txt latest 2021-05-12 18:35:18 +02:00
remoteRobot.js latest 2021-05-12 18:35:18 +02:00

doh/plugins - plugins to configure and extend the DOH runner

These are loaded after the test runner and test url, but before the runner begins. This provides an opportunity to wrap and monkey-patch doh, the test harness and the test runner.

Usage - e.g.: 
	util/doh/runner.html?testModule=tests.cache&dohPlugins=doh/plugins/hello
    util/doh/runner.html?testModule=tests.cache&dohPlugins=doh/plugins/hello;doh/plugins/alwaysAudio

Android robot testing
doh/plugins/remoteRobot bridges the doh.robot API with the WebDriver API.
On your PC, load android-webdriver-robot.html and follow the instructions to set up your Android phone for robot testing.
The page links to a patched version of WebDriver that enables cross-domain scripting from the browser; this enables the browser to essentially drive itself.
Sadly, the corresponding iPhone WebDriver is not as powerful as the Android version and does not use native events; do not expect it to work.

Known issues:
The mobile tests were broken during the AMD refactor, so don't expect to load the dojox.mobile tests and see them run just yet.