Sign in Go Pro

Espresso Test Recorder

Using "Test Fragment Recording" to Exclude Specific Actions

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Previous

About

This lesson will show you how to use `Test Fragment Recording`, which is available in `Android Studio 3.0` and higher and is accessible via the advanced settings of Espresso Test Recorder. `Test Fragment Recording` allows you to pause and resume your test recording to skip over events that you don't want to record. This setting could be used to record flows that are deeper in your app, where you already have Espresso code that will navigate you to that screen. By using this feature, you can work around the limitation that Espresso Test Recorder can only launch your app's default Activity. **Advanced settings in this lesson include:** * `Enable test fragment recording` **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)

Lessons in Espresso Test Recorder