If you want to run monkeyrunner from anywhere within the command line, you need to add the path of the monkeyrunner directory(\tools ) to your system PATH variable.
in ubuntu follow the steps below.
1. open the ternminal
2. changed to to the direcotory
android-sdk-linux/platform-tools$
3. ./adb -d shell monkey -p com.neem23.fishwrap -v 20000
here : com.neem23.fishwrap is my app package.
20000 no of inputs.
-d means device.
No comments:
Post a Comment