This blog is about how to use MonkeyRunner tool with ADB.
MonkeyRunner Tool to test app UI and functionality. pseudo-random streams of user events and system events is generated by MonkeyRunner. MonkeyRunner controls the workstation by sending commands and events.
You can use the Monkey to stress-test applications that you are developing.
MonkeyRuuner has command line tool which can run and test over emulator or device.
The basic syntax of MonkeyRunner is :-
$ adb shell monkey [options] <event-count>
Example of MonkeyRunner is:-
./adb shell monkey -p com.ammyaman.demo -v 20000
Happy Coding :D
0 Comment(s)