Hello,
I would like to set the time in my android app using appium.
I found it hard to achieve it because I was not able to locate all the elements of the clock.
I attached the photo of the clock. Any way I can set the time using appium?
Hello,
I would like to set the time in my android app using appium.
I found it hard to achieve it because I was not able to locate all the elements of the clock.
I attached the photo of the clock. Any way I can set the time using appium?
1 - you have radial_slider as main container and you can get it by id: http://screencast.com/t/S26dxt3hKE
2 - inside container there is item for each minute value from 0 to 55 - total 12 values.
so easiest way to select e.g. 10min
driver.findElement(MobileBy.id("com.lge.sui.widget:id/radial_picker")).
findElements(MobileBy.className("com.lge.sui.widget.control.SUIRadialTimePickerView$RadialPickerTouchHelper")).get(2).click();
NB! my example valid as you see for LG phones only due to LG time widget customatization.
Functionality: Click on Time and click on 3 then minutes screen will come and click on 30 from minutes.But am not able to do it.
I have followed the above code also