You create an .apk with an Instrumentation class (implementation deriving
from that, with an <instrumentation> declaration for it on the manifest),
and use "adb shell am instrument" to run it.

I think there are some examples of doing this around, but don't know them
off-hand.

On Mon, Jul 27, 2009 at 8:51 AM, chicochen <[email protected]> wrote:

>
> Thanks for your feedback, so how can we comunicate with the APP UI
> like automated testing tool - qtp does
> If it is the way, maybe I will try  to write such a useful tool.
>
> On 7月27日, 上午8时59分, James <[email protected]> wrote:
> > For a emulator,you can telnet localhost 5554 to send instructions.As
> > to a real device,I'm afraid you cann't do it this way;
> > Probably you'd have to run an agent written by yourself to acchive
> > this goal;Hope this helps!
> > BTW,I'm also working on android software testing.
> >
> > On Jul 26, 11:25 am,chicochen<[email protected]> wrote:
> >
> >
> >
> > > I am a tester, is there a way to control the Android phone or do the
> > > automated testing using a remote PC?
> >
> > > Or how can I dev such a automted tools, Use which technology?  thanks.-
> 隐藏被引用文字 -
> >
> > - 显示引用的文字 -
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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