http://developer.android.com/guide/topics/testing/testing_android.html

"With instrumentation, you can set up mock system objects such as Contexts
before the main application starts, control your application at various
points of its lifecycle, send UI events to the application, and examine the
application's state during its execution."

-Dan


On Fri, Aug 13, 2010 at 11:17 AM, [email protected] <
[email protected]> wrote:

> Hello,
>
> I want to keep launching my app and stress test two scenarios:
>
>    launch it and press BACK key
>    launch it and press MENU key
>
> I can launch from adb using "am" command. But how can I send a BACK or
> MENU key using adb.
>
> I want to do thousands of rounds of testing so I don't want to do it
> manually.
>
> Thanks!
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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

Reply via email to