Hi,everyone
I am using Andriod Emulator and Monkey command to research how to
execute automation test on Android Platform
According to http://d.android.com/guide/developing/tools/monkey.html,there
are words"To specify multiple packages, use the -p option multiple
times — one -p option per package." I think that means i can input
multiple parameters of package names in one command,the result should
be execute monkey test in both packages.
But i input multiple  "-p",only the first one executed.
such as "adb shell monkey -p com.android.camera -p
com.android.contacts 50",the result is only 50 events in camera,no one
in contacts

Could someone tell what the problem is?and how to execute monkey in
multiple packages?

BTW,there is a mistake in 
http://d.android.com/guide/developing/tools/monkey.html,
about help parameter.actually should one"-"before it,not "--"
the correct one is "adb shell monkey -help"

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" 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-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to