mercredi 4 mars 2020

How to click on a button that is located on the toolbar?

I have a test in which I need to click on the button located on the toolbar. This button does not have an id, but it has the name of the class - ImageButton. How can I click on it using Espresso or Barista?

    click(withClassName(ImageButton.class));

Aucun commentaire:

Enregistrer un commentaire