samedi 9 avril 2016

Espresso testing on viewpager and tablayout

I'm trying to figure out how to do this in espresso. Im currently new to UI testing. Assuming that I have 4 tabs like this | A | B | C | D | . ABCD are icons on the tab. Let say i want to click the tab D and check if D is visible. If i make it in non-espresso, i'm gonna get the tab index and perform select/click and check if visible. How can I achieve this behaviour using espresso?

Aucun commentaire:

Enregistrer un commentaire