Robotium 5.2.1 发布,下载地址:
新特性:
-
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 都是支持的。
Windows下构建robotium+jenkins+TMTS可持续集成自动化测试 http://www.idcfree.com/article-275-1.html
Linux下构建robotium+jenkins+TMTS可持续集成自动化测试 http://www.linuxidc.com/Linux/2013-06/85633.htm
Robotium 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-07/103924.htm
