Skip to content

Commit c0e1555

Browse files
committed
Create README.md
1 parent aaf143b commit c0e1555

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
This is the project related to UI Testing regarding to this (http://developer.android.com/tools/testing/testing_ui.html)
2+
The project is SkeletonApp from ~\Android\android-sdk\samples\android-17\SkeletonApp
3+
Environment Specs:
4+
Android Studio Preview 0.5.0 Build #AI-134.1058404
5+
SDK API 17
6+
Ant apache-ant-1.9.3-bin
7+
JDK 1.7.0-b147 amd 64
8+
*
9+
To create UI Tester from sample project using Android Studio this project can be helpful.
10+
There were lots of errors b/c of conflicts of old project structure to Android Studio.
11+
*
12+
Import project SkeletonApp in Android Studio with the default settings. Nothing has been changed.
13+
Terminal:
14+
\tools>android update project --path ~\SkeletonApp2\app\src\main --subprojects --target android-17
15+
~\SkeletonApp2\app\src\main>ant debug
16+
android create uitest-project -n SkeletonApp -t 1 -p ~\SkeletonApp2\app\src\androidTest\java\com\example\android\skeletonapp
17+
Copy in Android Studio ~\SkeletonApp2\app\bin to ~\SkeletonApp2\app\src\androidTest\java\com\example\android\skeletonapp
18+
~\SkeletonApp2\app\src\androidTest\java\com\example\android\skeletonapp>ant build
19+
Connect your Android device to your development machine
20+
~\android-sdk\platform-tools>adb push ~\SkeletonApp2\app\src\androidTest\java\com\example\android\skeletonapp\bin\SkeletonApp.jar /data/local/tmp/
21+
~\android-sdk\platform-tools>adb shell uiautomator runtest SkeletonApp.jar -c com.example.android.skeletonapp.SkeletonAppTest

0 commit comments

Comments
 (0)