Hi All,
I have a requirement, where I need to traverse through all the matching xpath & match the count with a defined number.
The requirement seems straight forwards but the problem I am facing is, Get Element Count or Get Matching Xpath Count returns the list of elements present in the screen view. i.e. there are more elements matching the Xpath, but for that i need to scroll down on my mobile device for a native app.
I would like to know, if there is a way i can get the element count without using the scroll action.
To tell you more about the behaviour, Appium inspector captures the screenshot for the screen and then Get Element Count or Get Matching Xpath Count returns the list of elements present only in the view of inspector. However, Get Element Count or Get Matching Xpath Count should not depend on the screen view rather it should match with all the elements matching the xpath similar to what is there in web browser for UI automation.