Friday, August 24, 2012

[android-developers] Re: Is there a way to control the Android phone or do a automated test using a remote PC?

Also monkeyrunner.

This stuff is all over the Android developer site.

-- 
Lew

On Thursday, August 13, 2009 1:44:01 AM UTC-7, quill wrote:
Does that mean I can simulate multitouch events through emulator?

On Aug 6, 12:14 pm, Anil Sasidharan <anil...@gmail.com> wrote:
> Hi,
>
>              Yes, this is possible. Android supports a bench tools for
> testing the device from host-pc. Please check out the following:
>
> 1. adb am <args> - "am" is one such tool
> 2. service command
> 3. Instrumentation framework (InstrumentationTestCase,
> InstrumentationTestRunner, InstrumentationTestSuite etc.)
> 3. Tool called "monkey"
> 4. sendevent command (in /system/bin) - most appropriate to generate keypad
> and touch events (event emulation)
>
> Warm Regards,
> Anil
>
>
>
> On Thu, Aug 6, 2009 at 9:06 AM, chicochen <chic...@gmail.com> wrote:
>
> > Anyone can help us? thanks.
>
> > On 7月30日, 下午2时09分, pinky <namita.n...@gmail.com> wrote:
> > > even I am looking for a way to control the android phone through
> > > computer for testing purpose.
> > > I want to know how to do it could any one give a complete info on
> > > it...
>
> > > On Jul 28, 11:04 am,chicochen<chic...@gmail.com> wrote:
>
> > > > Thanks, I just read something about the instrumentation, and have the
> > > > last question that is "can we use instrumentation to control the app
> > > > ui, such as click a button, input into textbox and click the
> > > > keybord?".
>
> > > > On 7月28日, 上午2时00分, Dianne Hackborn <hack...@android.com> wrote:
>
> > > > > 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<chic...@gmail.com> 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 <030440...@163.com> 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<chic...@gmail.com> 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
> > > > > hack...@android.com
>
> > > > > 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.- 隐藏被引用文字 -
>
> > > > > - 显示引用的文字 -- Hide quoted text -
>
> > > > - Show quoted text -- 隐藏被引用文字 -
>
> > > - 显示引用的文字 -- Hide quoted text -
>
> - Show quoted text -

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment