Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.67 KB

README.md

File metadata and controls

40 lines (29 loc) · 1.67 KB

JsTestDriver / Android Emulator Initialization Script

Automates the initialization of JsTestDriver with an Android emulator, capturing the emulator's web browser in the JsTestDriver server instance and running the tests specified on the command line.

Dependencies

Usage

jtd-android-init.py [Path to SDK] [AVD] [Delay] [Path to JTD] [JTD Port] [JTD Test] [JTD Args]...

  • Path to SDK : The path to your local Android SDK directory
  • AVD : The name of the Android Virtual Device to start
  • Delay : The number of seconds to wait for the Android browser to finish loading the JsTestDriver test page
  • Path to JTD : The path to your JsTestDriver JAR file
  • JTD Port : The port on which to start the JsTestDriver server
  • JTD Test : The JsTestDriver tests to run (This should be a proper value for the JsTestDriver "--tests" option)
  • JTD Args : Additional arguments to pass to JsTestDriver when running tests

###Example

jtd-android-init.py /usr/bin/android-sdk/ Android233 10 JsTestDriver.jar 9876 all --browser /usr/bin/Firefox/firefox.exe

Current Limitations

  • Does not support capturing the browser of a USB-connected Android device.
  • Does not support capturing multiple emulator instances.