Thanks. That was useful! And it worked well. But, it does not have the
following:
-Slide keyboard out
-Slide keyboard in
I need to find how to simulate these actions.
If there is a method to rotate the screen by 90 degrees, I could
obtain the same result.
On Sep 22, 8:45 am, Brett Chabot <[email protected]> wrote:
> The TouchUtils class sounds like it may be useful to you.
>
> http://developer.android.com/reference/android/test/TouchUtils.html
>
> On Wed, Sep 16, 2009 at 3:05 AM,ArulDeepak
>
>
>
> <[email protected]> wrote:
>
> > I am building a test automation suite using Instrumentation.
>
> > I could not find the key definitions for the following actions in
> > android.view.KeyEvent class:
>
> > -Drag screen to right.
> > -Drag app tab up.
> > -Drag status bar down.
> > -Slide keyboard out.
> > -Slide keyboard in.
>
> > Is there a method for generating these actions as key events? Is
> > there any other method of simulating these actions in the program?
>
> > I am using android.test.InstrumentationTestCase.sendKeys(int... keys)
> > function.- 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
-~----------~----~----~----~------~----~------~--~---