samedi 22 septembre 2018

how to select check box in appium , when there is no unique id/class name?

How to select the checkbox in the below screenshot? enter image description here

Tried below poossibilites but not working. driver.findElementByXPath("//android.widget.TextView[@text='World Music']").click(); driver.findElementByXPath("//android.widget.TextView[@index='11']").click(); driver.findElementByAndroidUIAutomator("text(\"World Music\")").click();




Aucun commentaire:

Enregistrer un commentaire