How to use monkey and monkeyrunner tools for android testing?

后端 未结 4 1748
有刺的猬
有刺的猬 2020-12-16 16:08

How do you use monkey and monkeyrunner tools for android testing?

What are the basic commands needed?

4条回答
  •  轮回少年
    2020-12-16 16:40

    adb shell monkey -p com.bla.yourpackage -v 1000
    

    First is your package that you want monkey to run in and be restricted to. Second is i verbose mode, third is number of events to run.

    You can find out more by doing adb shell monkey -help

提交回复
热议问题