How to use monkey and monkeyrunner tools for android testing?

Terminator picture Terminator · Sep 6, 2012 · Viewed 26k times · Source

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

What are the basic commands needed?

Answer

serenskye picture serenskye · Nov 15, 2012
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