Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- onView(withText("Text")).check(matches(isDisplayed()));
- //perform some actions on this view
- } catch (NoMatchingViewException notExist) {
- //proceed to the next screen
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement