Android自动化测试

1、安装JDK 6、Android SDK 2.3


 


2、安装Eclipse 3.5.2、ADT8.0.1
https://dl-ssl.google.com/android/eclipse/


 


3、HelloAndroid
E:\Program Files\Android\android-sdk-windows\docs\resources\tutorials\hello-world.html


 


4、Android UnitTest
hello testing:
E:\Program Files\Android\android-sdk-windows\docs\resources\tutorials\testing\helloandroid_test.html


Activity testing:
E:\Program Files\Android\android-sdk-windows\docs\resources\tutorials\testing\activity_test.html


 


5、Robotium
Tutorial:
D:\Android\robotium\RobotiumForBeginners.pdf
http://code.google.com/p/robotium/wiki/Getting_Started


example:
http://wiebe-elsinga.com/blog/?p=300
D:\Android\robotium\ExampleTestProject_v2.0.zip


Robotium API帮助文档:
robotium-solo-2.0.2-javadoc


 


6、Monkey
UI/Application Exerciser Monkey
E:\Program Files\Android\android-sdk-windows\docs\guide\developing\tools\monkey.html


monkey源代码:
http://fanfq.javaeye.com/blog/781694
Android SDK源代码:
http://www.oschina.net/code/explore/android-2.2-froyo


 


7、MonkeyRunner
E:\Program Files\Android\android-sdk-windows\docs\guide\developing\tools\monkeyrunner_concepts.html


 


8、adb shell sendevent
http://blog.csdn.net/roger_ge/archive/2010/05/03/5552740.aspx




9、辅助工具
hierarchyviewer
ddms
adb

你可能感兴趣的:(Android自动化测试)