My requirement includes selecting of checkboxes for all the items. Attributes avail which are index, resource-id are static. The instance is of dynamic & increases with the items list.
ref:: 0,1,2,3 et…
How to select the checkboxes of the list in appium??
WebElement checkboxallSelection = driver.findElementByXPath("//android.widget.paths[contains
(@instance, '0')]");
checkboxallSelection.click();
The above sample code is for 1 selection of checkbox. But, i need for all 0,1,2,…n?
How can I attain this??