On Fri, Jun 6, 2014 at 8:07 PM, RedDevil <
min...@firespotter.com> wrote:
>> Also is it possible to findElementById in Android?
>
> Yes.
>
> How can this be done. I tried
>
> driver.findElement(By.id("app.package:id/elementId")) and it does not work.
You need Android API 18 or better.
>> Is there a way/documentation in Appium to set data to the Date/Time Picker
>> for ANDROID in Java.
>
> If you can see the time picker via uiautomatorviewer then it should be
> possible to automate.
>
> I see it via uiautomatorviewer but my question is how do I find the element
> and set data to it as Byid does not work? So is content_desc the only way or
> is there anything else?
You can find it by any supported locator strategy for the given API level.
>
>
> On Friday, June 6, 2014 5:02:34 PM UTC-7, bootstraponline wrote:
>>
>> On Fri, Jun 6, 2014 at 8:00 PM, RedDevil <
min...@firespotter.com> wrote:
>> > Also is it possible to findElementById in Android?
>>
>> Yes
>>
>> > Is there a way/documentation in Appium to set data to the Date/Time
>> > Picker for ANDROID in Java.
>>
>> If you can see the time picker via uiautomatorviewer then it should be
>> possible to automate.
>
> --
>
http://appium.io
> ---
> You received this message because you are subscribed to the Google Groups
> "Appium-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
appium-discus...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/appium-discuss.
> For more options, visit
https://groups.google.com/d/optout.