首页
startActivity方法是MonkeyRunner的()模块的方法。
精华吧
→
答案
→
远程教育
→
国家开放大学
startActivity方法是MonkeyRunner的()模块的方法。
正确答案:MonkeyDevice
Tag:
方法
模块
时间:2023-11-20 12:02:19
上一篇:
使用MonkeyRunner的测试脚本可控制多个设备并在多个设备上运行测试,可实现的功能更丰富、强大。
下一篇:
卸载指定的包的adb命令是()。
相关答案
1.
通过adb可进行应用的安装、卸载。
2.
MonkeyRunner测试脚本中的drag语句用于模拟触摸事件。
3.
MonkeyRunner的测试脚本中KEYCODE()HOME表示home键。
4.
所有Android应用的线程都对应一个Linux线程。
5.
通过adb可监听所有连接的接口。
6.
MonkeyRunner测试脚本中的press语句用于模拟按键事件。
7.
MonkeyRunner可用于回归测试。
8.
MonkeyRunner只能支持一些简单的脚本命令。
9.
MonkeyRunner常用于性能测试。
10.
相比起Monkey,MonkeyRunner的测试脚本可实现的功能更丰富、强大。
热门答案
1.
使用uiautomatorviewer可查看到UI控件属性和布局结构。
2.
使用MonkeyRunner可实现多设备控制。
3.
MonkeyRunner脚本执行前不需要检查设备是否已连接好。
4.
Monkey测试只能是完全随机测试。
5.
MonkeyRunner是用于白盒测试的。
6.
MonkeyRunner的测试脚本中KEYCODE()ok表示home键。
7.
在MonkeyRunner脚本中,如果要等待被测程序执行一段时间,可使用sleep语句。
8.
性能测试一般需要借助一些自动化测试工具。
9.
MonkeyRunner的测试脚本是使用C语言编写的。
10.
Monkey工具运行在设备或模拟器的adbshell中。