Issue
I have this popup. How can I press on QUIT button ?
I use string like this:
onView(withId(android.R.id.button1)).perform((click()));
Solution
Try:
onView(withText("QUIT"))
.inRoot(isDialog())
.check(matches(isDisplayed()))
.perform(click());
Answered By - jeprubio
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.