What's the difference between clickView() and tapView()? I have tried both, the tapView() doesn't work at all for a button.
On Aug 19, 9:41 pm, markwhitney <[email protected]> wrote: > Brilliant. Thanks Mark! > > On Aug 19, 9:28 am, Mark Murphy <[email protected]> wrote: > > > > > markwhitney wrote: > > > I agree with Rama, sending keystrokes is nice, but it seems cumbersome > > > when you really want to click something clickable in an activity. I > > > only see sendKeys in InstrumentationTestCase. > > > > Is there a "proper" way to simulate a button click using something in > > > ActivityInstrumentationTestCase(2) or some other part of the testing > > > framework? Is there a "sendClick" somewhere that we are missing? > > >http://developer.android.com/reference/android/test/TouchUtils.html > > > This offers clickView(), tapView(), etc. > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://twitter.com/commonsguy > > > Need Android talent? Ask on HADO!http://wiki.andmob.org/hado- 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 -~----------~----~----~----~------~----~------~--~---

