![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
edmondxb
这个作者很懒,什么都没留下…
展开
-
Monkey Runner常用语句
Monkey Runner常用语句#Imports the monkeyrunner modules used by this programfrom com.android.monkeyrunner import MonkeyRunner,MonkeyDevice,MonkeyImage#Connects to the current device,retuning a Mo原创 2014-04-18 13:29:58 · 913 阅读 · 0 评论 -
UiAutomator 中文输入实现
UiAutomator不支持中文输入。通过设置中文输入法为默认,UiObject.setText("pinyin ") 的方式,可以实现中文输入,但是只能输入一些固定的词组。github上发现了一个 utf7ime 的好东西,可以实现中文输入,英文输入,中英文混合输入。简单来说,支持输入任何unicode编码的字符。原理是:UiObject.setText( Str转载 2014-05-11 11:56:36 · 1040 阅读 · 0 评论 -
介绍Robotium+Orange实现androidUI自动化测试
Robotium:Robotium是一个开源的androidUI自动测试工具,这里不做介绍,可以见:http://code.google.com/p/robotium/Orange:Orange是我们自己开发的运行在PC端的(只支持windows),用于组织测试用例、自动重签名apk文件、以及操作模拟器、启动运行测试用例、用 例crash以及失败重跑、测试结果收集等功能的一个工转载 2014-05-12 21:50:47 · 575 阅读 · 0 评论 -
Android UI Testing with uiautomatorviewer and uiautomator
Introduction There are two types of testing when it comes to Android UI testing. White box testing requires that the source code of the application to test to be accessible by the tester. For whit原创 2014-04-28 21:54:56 · 1673 阅读 · 1 评论 -
UI测试常用技巧
如何在当前界面中查找第一个ListView中的带有文本属性为Apps的子控件。UiObject appItem = new UiObject(new UiSelector().className("android.widget.ListView").instance(1).childSelector(new UiSelector().text("Apps")));转载 2014-04-29 09:29:25 · 503 阅读 · 0 评论