android自动化测试Monkey

2016-10-31  本文已影响50人  d26168ad953a

1、win+R ,输入 cmd回车进入doc窗口。
2、cd 到本地sdk的platform-tools目录下
3、 adb shell monkey -p com.zxk.testapp 10000
其中 com.zxk.testapp 为需要测的包名,10000为事件数。
也可以通过 adb shell monkey –help 来查找帮助
4、adb shell monkey -p com.zxk.testapp -s 10 10000
-s 后紧跟的数字相同的情况下 测试的操作顺序一致

上一篇下一篇

猜你喜欢

热点阅读