It sounds like android.app.Instrumentation.ActivityMonitor might help.

See 
http://developer.android.com/reference/android/app/Instrumentation.ActivityMonitor.html

Brett.

On Wed, Sep 9, 2009 at 1:14 AM, HandsomeboyIT <[email protected]> wrote:
>
> I want to do some automated testcase with Instrumentation . Suggest
> that my AUT has 2 Activity. After clicking the button in ther first
> Activity, the second one will be shown  with new content base on what
> we enter in the first Activity.)
> Instrumentation provides us the function called startActivitySync()
> and return the Activity object for processing...
> My question is how we can get the pointer of the second Activity after
> the it is shown by clicking the button on the first activity.?
>
> 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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to