[ad_1]
I’m new to using Espresso to write automated tests. I’ve got a test that gets to some state then I want to count the number of buttons on the screen. I’ve found some examples of using getItemCount() but I’ve not been able to get it working.
Is there a function I’m missing that will return the number of items on a screen?
[ad_2]