Depends on exactly what you mean by "while testing". If you are using
the Android unit testing framework described in

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

then the answer is "no". The unit testing framework is for testing a
single class, so you can't test more than one Activity at a time. If
the Activity under test is dependent on the results of another
Activity, then you have to mock the dependency somehow.

If you want an automated test of the entire application, then you can
use 3rd party test frameworks like Robotium (http://code.google.com/p/
robotium/wiki/Getting_Started).

Somebody mentioned the UI/Application Exerciser Monkey (http://
developer.android.com/guide/developing/tools/monkey.html). This may or
may not fit your circumstances. It was not designed to do functional
testing, though.

On Nov 22, 9:09 pm, kampy <[email protected]> wrote:
> hi
>
> while testing a activity can we move from that activity to the another
> activity . i think it is possible as i found that we can deploy a
> complete test application a android app but i am not gettig how i can
> move from one acitivity to another activity ....

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