Gergő Nagygyörgy
1 min readFeb 26, 2020

--

You could try matching by testID, than you can check for it in espresso like this:

onView(withTagValue(is((Object) “automation_image_id”))).check(matches(isDisplayed()));

I am pretty sure I had some trouble using that property, but you could give it a try, if its not mandatory to identifier your view by accessibilityValue.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response