master |
---|
To build the jar run:
./gradlew build
To take a screen shot on the device with serial number <serial number>
and save it to <screenshot path>
java -jar screenshotTaker.jar <serial number> <screenshot path>
To run integration tests
./gradlew integrationTest -PdeviceSerial=<serial number>
Make sure that environment variable ANDROID_HOME
is set to proper Android SDK location before running integration tests.