How can i select the time in radial time watch


#1

I wan to select the 7 from this watch but i cant . i try alot things

1)driver.findElement(By.xpath("//android.widget.TextView[@text=‘5’]"));
2) driver.findElement(By.xpath("//android.widget.RadialTimePickerView$RadialPickerTouchHelper[@content-desc=‘5’]"));
3)driver.findElement(By.xpath("//android.widget.RadialTimePickerView$RadialPickerTouchHelper[@content-desc=‘5’]")).click();
none of the work in this


#2

You can use the below code with xpath.

driver.findElement(By.xpath("//*[@content-desc=‘5’]"));