Skip to content

markafarrell/android-battery-test

Repository files navigation

Requires Eclipse for Android Developers and Android Studio


Setup instructions:

Clone to <PROJECT_DIRECTORY>

Edit setup_environment_vars.bat and set:

 - ANDROID_HOME
 - JAVA_HOME
 - ECLIPSE_HOME
 - PROJECT_DIRECTORY
 
corresponding to the correct locations for your environment.

Build instructions:

run build.bat

Install to device:

run install.bat

Run Test:

run run.bat


NOTE: To generate a new test project <android-sdk>/tools/android create uitest-project -n <name> -t  <target-id> -p <path>
Where <name> is the name of the project that was created to test UiAutomator (in our case: battery-test), <target-id> is the choice of device and Android API Level (you can get a list of installed devices, the team (<android-sdk> / tools / android list targets), and <path> is the path to the directory that contains the project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published