Dear Kurt,

the file has to be uploaded to the device/emulator first. You can do
it using following command:
adb push scriptfile /sdcard/scriptfile

and then execute it:
adb shell monkey -p com.touchtype -v -v -v -f /sdcard/scriptfile 1

which is equivalent to obtaining shell using  adb shell and then
running monkey -p com.touchtype -v -v -v -f /sdcard/scriptfile 1

adam

On 31 Mar, 12:11, Kurt Glivos <[email protected]> wrote:
> Me too trying to use themonkeywith -f <scriptfile>. I used the
> samplescriptgiven in source code but not able to make it work. Could
> anybody please help?
>
> -
> KG
>
> On Mar 23, 6:06 pm, zafar <[email protected]> wrote:
>
> > AndroidMonkeytool can use user suppliedscriptto run,
> > but very few information are present in this regarding to writing
> > androidmonkeyscript.
>
> > one guy only copied the stuff from source code and apart from that no
> > information is present.
>
> > Can anyone tell abount the sysntax of androidmonkeyscript to launch
> > browser using the command fromscriptand to browse particular
> > website.
>
> > Any suggestion will be appreciated.
>
> > MD ZAFAR ZIYA

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to