How to use monkey and monkeyrunner tools for android testing?
问题 How do you use monkey and monkeyrunner tools for android testing? What are the basic commands needed? 回答1: 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 回答2: Here are some useful tips when using monkey test. Specify one activity Add category in manifest: <activity android:name="MonkeyActivity"> <intent