红联Linux门户
Linux帮助

Robotium 5.2.1发布,Android集成测试框架

发布时间:2014-07-01 11:03:25来源:红联作者:empast
Robotium 5.2.1 发布,下载地址:

robotium-solo-5.2.1.jar:http://dl.bintray.com/robotium/generic/robotium-solo-5.2.1.jar

robotium-solo-5.2.1-javadoc.jar:http://dl.bintray.com/robotium/generic/robotium-solo-5.2.1-javadoc.jar

ExampleTestProject_v5.2.1.zip:http://dl.bintray.com/robotium/generic/ExampleTestProject_v5.2.1.zip

新特性:

Solo(Instrumentation instrumentation, Config config, Activity activity) - New constructor.

pressSoftKeyboardSearchButton() - Presses the search button on the soft keyboard.

getWebElements() - Returns all the WebElements displayed in the active WebView.

getWebElements(By by) - Returns all the WebElements displayed in the active WebView matching the specified By object.

setNavigationDrawer(int status) - Sets the status of the NavigationDrawer.

getConfig - Returns the Config used by Robotium.

Robotium 是一款国外的Android自动化测试框架,主要针对Android平台的应用进行黑盒自动化测试,它提供了模拟各种手势操作(点击、长 按、滑动等)、查找和断言机制的API,能够对各种控件进行操作。Robotium结合Android官方提供的测试框架达到对应用程序进行自动化的测 试。另外,Robotium 4.0版本已经支持对WebView的操作。Robotium 对Activity,Dialog,Toast,Menu 都是支持的。

项目主页:http://code.google.com/p/robotium/

下载地址:https://bintray.com/robotium/generic/releases/view

来自:开源中国社区
文章评论

共有 0 条评论