Changes between Version 10 and Version 11 of androidtest
- Timestamp:
- 10/28/2014 05:02:15 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
androidtest
v10 v11 1 参考文章:http://www.360doc.com/content/14/0213/16/7044580_352233197.shtml 1 参考文章:http://www.360doc.com/content/14/0213/16/7044580_352233197.shtml[[BR]] 2 http://blog.sina.com.cn/s/blog_44d19b500102v75z.html [[BR]] 2 3 3 4 Instrumentation类:http://developer.android.com/reference/android/app/Instrumentation.html [[BR]] 4 Android APIs提供[[BR]]5 UI层的自动化 [[BR]]5 Android 原生的测试框架,测试程序和被测程序在同一进程下运行,能生成报告 [[BR]] 6 UI层的自动化,通过反射获取窗口视图,查找控件属性 [[BR]] 6 7 跨进程受到android进程安全限制 [[BR]] 7 8 扩展后的框架:Robotium, Athrun等 [[BR]] 8 9 9 10 Monkeyrunner http://developer.android.com/tools/help/MonkeyRunner.html [[BR]] 10 Android SDK提供 [[BR]]11 Android SDK提供,能够录制脚本,但采用像素形式 [[BR]] 11 12 python脚本,使用monkeyrunner test.py来执行 [[BR]] 12 13 结果的验证是通过截屏比对图片来实现,验证方式不够灵活 [[BR]] … … 15 16 Android提供的框架,支持SDK level 16及以上 [[BR]] 16 17 打包成jar后push到模拟器中运行,调试相对Robotium不便(其实自己稍微封装下也还OK) [[BR]] 17 支持跨进程测试!!! [[BR]]18 因为和测试应用是独立运行,支持跨进程测试!!! [[BR]] 18 19 19 20 Robotium:http://code.google.com/p/robotium/ [[BR]] … … 90 91 91 92 92
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)