-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
31 lines (17 loc) · 835 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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.