android monkey runner scripts

saibabu picture saibabu · Sep 26, 2011 · Viewed 11.8k times · Source

i am tryig to execute a sample python program through monkey runner command prompt and it is throwing an error

Can't open specified script file
Usage: monkeyrunner [options] SCRIPT_FILE

    -s      MonkeyServer IP Address.
    -p      MonkeyServer TCP Port.
    -v      MonkeyServer Logging level (ALL, FINEST, FINER, FINE, CONFIG, INFO,
WARNING, SEVERE, OFF)

Exception in thread "main" java.lang.NullPointerException so any one can guide me how to resolve this one

Answer

sangjun picture sangjun · Feb 20, 2012

scriptfile should be a full path file name try below monkeyrunner c:\test_script\first.py