I'm using Android Studio 2.3.1 and couldn't find the Espresso Test Recorder button. I checked with my friends they have the same Android Studio version as mine but they have the button in Run->Espresso Test Recorder button.
Reference image
Record UI interactionsClick Run > Record Espresso Test. In the Select Deployment Target window, choose the device on which you want to record the test. If necessary, create a new Android Virtual Device. Click OK.
Espresso is an open source android user interface (UI) testing framework developed by Google. The term Espresso is of Italian origin, meaning Coffee. Espresso is a simple, efficient and flexible testing framework.
Espresso is a test automation tool for Android applications developed by Google. Sauce Labs enables developers and test engineers to execute reliable automated UI tests for Android apps.
Make sure that the Test Recorder Plugin is enabled.
Go to File → Settings → Plugins
.
Find the Test Recorder plugin in the list. Enable the checkbox next to it and click OK.
The Espresso Test Recorder button should then be available from the Run menu as expected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With