Sign in Go Pro

Espresso Test Recorder

Tweaking Code Generation Settings for Matchers

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Up next

Previous

About

This lesson will show you how changing the matcher depth settings of `Espresso Test Recorder`will affect the generated code and the likelihood of a successful execution of your recorded test. You'll learn the pros and cons of adjusting these depth-related settings, and what situations you'd want to change them from their defaults. **Advanced settings in this lesson include:** * Max UI depth * ScrollView detection depth * Assertion depth **Pre-requisites:** * Watch [Espresso Test Recorder - Recording an Espresso Test](/lessons/espresso-test-recorder) lesson to have a good understanding of how the test recorder works with default settings, so you can be ready to take advantage of the advanced settings. **Follow up lesson recommendations:** * Watch other lessons in the [Espresso Test Recorder](/courses/espresso-test-recorder/) course. **Related links:** * [Espresso Test Recorder Documentation](https://developer.android.com/studio/test/espresso-test-recorder.html) * [Espresso Cheat Sheet](https://developer.android.com/training/testing/espresso/cheat-sheet.html) * [Espresso Documentation](https://developer.android.com/training/testing/espresso/index.html)

Lessons in Espresso Test Recorder