美文网首页
android自动化测试Monkey

android自动化测试Monkey

作者: d26168ad953a | 来源:发表于2016-10-31 18:09 被阅读50次

    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 后紧跟的数字相同的情况下 测试的操作顺序一致

    相关文章

      网友评论

          本文标题:android自动化测试Monkey

          本文链接:https://www.haomeiwen.com/subject/laeputtx.html