How to use monkey and monkeyrunner tools for android testing?

后端 未结 4 1741
有刺的猬
有刺的猬 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:17

    These three steps should help you set it up:

    1 ) Get inside this directory - ~/Android/Sdk/platform-tools

    2) Start server - ./adb start-server

    3) Command to test 5000 random keystrokes in your app - ./adb shell monkey -p your.package.name -v 500

    For more information check this out. https://developer.android.com/studio/test/monkey.html

提交回复
热议问题