@UD I see the following issues with the solution that you provided
listEles will only provide the elements which are currently visible on screen and not the ones which will become visible upon scrolling down
This solution will only tell me if a particular text appears in a child element and cannot catch a bug if a particular text is displayed twice as a list view child
The solution cannot tell me the count of the children of the entire list (visible + non visible)
The solution will not work if I have many different types of children like first is LinearLayout second may be is a RelativeLayout and then third may be a FrameLayout and so on
This solution cannot give me an element at a particular index in ListView
In case the child elements are images this will again not work (I mean if the child happens to be an image i would get a URL in the api response and this is the URL where the image is hosted, so if there could be a way in which i can compare the bytes of this image against the response bytes from that URL that would be great)