Hi Anil, Regarding sendevent command, could you please explain it with more detail? Thanks in advance! BR android.buger
On Aug 6, 12:14 pm, Anil Sasidharan <[email protected]> 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 <[email protected]> wrote: > > > Anyone can help us? thanks. > > > On 7月30日, 下午2时09分, pinky <[email protected]> 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<[email protected]> 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 <[email protected]> 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<[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.- 隐藏被引用文字 - > > > > > > - 显示引用的文字 -- 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 [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 -~----------~----~----~----~------~----~------~--~---

