Hi
I’m using Appium 1.2.1 on Mac OS for automating android app.
I have to locate a ListView which consist of 8 items. I tried to do this using below code
List MenuChoices = driver.findElements(By.xpath("//android.view.View[2]/android.widget.FrameLayout[1]/android.widget.ListView[]"));
System.out.println(MenuChoices.size());
Result shows count as 1, that means list is not identifed
Please help to sort this out.