Saturday 8 April 2017

How to count all entires of recyclerview list in android app using Appium

In the app I am automating using appium+node.js, the screen with Offers has recycler view for offer list. Each cell is an image without any text on it.

I am getting the total count of offers through API call and want to assert that count by counting the total list entries.

enter image description here

Currently I am only able to get count of elements displayed on the screen(i.e 3 in this case).

How can I count each entry of this section and match that count with the total count of api result?



via Shashi Kumar Raja

No comments:

Post a Comment