Hi,
I am stuck with a scenario where I am not able to get the actual size of the list view. I tried using all the locators possible. But I get the size of the list view which is only in the visible area. Suppose, the actual size of the list is 20 and only 10 elements are visible then the size of the list is shown as 10. Please help. Also the list is dynamic. So I can't refer to a specific text or an element and scroll to that and get the size. I am hereby pasting a code snippet so that you guys can understand where I am going wrong.
List login= driver.findElementsById("com.zee.gorb:id/slot_text");
System.out.println(login.size());
Thanks in advance.