What are you trying to do?

Android includes a framework for doing unit testing of Android
classes. You can use this to send key and touch events to the UI of an
Activity, in order to unit test the Activity class. The Android 2.2
SDK contains a tutorial that describes how to do this:
http://developer.android.com/resources/tutorials/testing/activity_test.html.
The tutorial has an appendix that describes how to run unit tests from
the command line using adb. You could run multiple unit tests by
calling adb from a Python script.

Joe Malin
---------------
Note: Because of the volume, I am unable to respond to individual e-
mails. Please post your questions to the list.


On Sep 16, 11:38 pm, Dajinsol Jeon <[email protected]> wrote:
> Hi all,
> I'm new to Android programming.
>
> Yesterday, I heard that there is a program to test Android application
> automatically after installing apk onto real device. The one I have heard is
> commercial, and very expensive. Is there a open source tool? I know that adb
> shell support monkey test, but is it possible to use adb for UI interaction?
> For example, is it possible to send button-click event to button (which is
> specified by id or something else) in application by using adb?
>
> 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