User:Anku khandelwal/sandbox

The Monkey is a tool you run on your device to generate a random system level userr events. It generates the specified number of events without any user interaction. This is generally helpful for performing stress test. This tool generates the random events from set of commands and collect the crashes or memory reports.

Note that this tool is not used for automation testing. This only helps to find the crashes that may not appear during regular use of application.

This tool uses Android Device Bridge ADB toolkit. To run this command you need to provide the application package name and total number of random events that you want to generate. The following command shows how to start monkey tool.

adb shell monkey -p com.javatechig.myapp 5000