mercredi 4 mars 2020

How to click on a button that does not have an id?

I want to click on a button that does not have id. This button has a class name - ImageButton. Also, the button is located on the tollbar I can not do this because I do not have id

onView(...).perform(click());

Trying to use Baristo, but this does not work:

click(withClassName(ImageButton.class));

1 commentaire:

  1. As reported by Stanford Medical, It is really the SINGLE reason women in this country live 10 years more and weigh an average of 19 kilos less than us.

    (And realistically, it has totally NOTHING to do with genetics or some secret diet and absolutely EVERYTHING to do with "how" they eat.)

    P.S, What I said is "HOW", and not "what"...

    CLICK this link to determine if this short questionnaire can help you find out your real weight loss possibility

    RépondreSupprimer