Sign in Go Pro

UI Testing with Espresso

ViewMatchers, ViewAssertions, ViewActions, UiAutomatorView, Debugging and Your First Test

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Up next



In this Lesson you will learn:

  • What View Matchers are and how to use them
  • What View Assertions are and how to use them
  • What View Actions are and how to use them
  • How to write a test that validates different screens are loaded.
  • How to debug tests when view are not found with view matchers
  • How to use the UIAutomatorViewer to speed up test development
  • Best practice for finding views (use the ID not string literals!)
  • How to click on buttons with Espresso
  • How to enter text into EditText widgets with Espresso
  • How databases are cleaned before each test run (using Realm).

- Espresso Cheat Sheet
- Tasko Source Code


There are no comments on this lesson, start the conversation below ...

You need to go PRO to post comments.

Lessons in UI Testing with Espresso