android tutorial - View test in Android Espresso | Developer android - android app development - android studio - android app developement



View test

onView(withId(R.id.greet_button)) // withId(R.id.my_view) is a ViewMatcher
.perform(click())                 // click() is a ViewAction
.check(matches(not(isEnabled())); // matches(isEnabled()) is a ViewAssertion
click below button to copy code from our android learning website - android tutorial - team

Related Searches to View test in Android Espresso