Consider the following code snippet :- 

onView(withId(R.id.button_signin));

In this code snippet we are trying to find an object/element using resource id. As android resource ids are not guaranteed to be unique. In our attempt to match to a resource id used by more than one view, Espresso gives the following outcome:

MultipleMatcherException exception is thrown.

AmbiguousViewMatcherException exception is thrown.

MultipleViewMatcherException exception is thrown.

Collection of all the elements matching resource id.

Verified Answer
Correct Option - b

To get all Infosys Certified Espresso Tester Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram