- 博客(8)
- 收藏
- 关注
转载 介绍Robotium+Orange实现androidUI自动化测试
Robotium:Robotium是一个开源的androidUI自动测试工具,这里不做介绍,可以见:http://code.google.com/p/robotium/Orange:Orange是我们自己开发的运行在PC端的(只支持windows),用于组织测试用例、自动重签名apk文件、以及操作模拟器、启动运行测试用例、用 例crash以及失败重跑、测试结果收集等功能的一个工
2014-05-12 21:50:47 577
转载 UiAutomator 中文输入实现
UiAutomator不支持中文输入。通过设置中文输入法为默认,UiObject.setText("pinyin ") 的方式,可以实现中文输入,但是只能输入一些固定的词组。github上发现了一个 utf7ime 的好东西,可以实现中文输入,英文输入,中英文混合输入。简单来说,支持输入任何unicode编码的字符。原理是:UiObject.setText( Str
2014-05-11 11:56:36 1045
转载 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 508
原创 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 1675 1
原创 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 917
原创 Robotium For Pre-Installed Apps
Use Robotium on pre-installed applicationUpdated Jun 24, 2013 by renasr...@gmail.comWith Robotium it is possible to run test cases on applications that are pre-installed. For this to work
2014-04-16 20:30:28 727
原创 重写Equals()方法
class Person{ private String name; private int age; public boolean equals(Object obj){ if(this==obj){ return true; } if(!(o
2011-10-09 18:17:10 255
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人