The goal of this code lab is to recognize and try UI testing on Android platform. We develop couple of tests using Android's UI Automator and Espresso libraries as well as try some tools like Android test recorder and Monkey.
You will learn:
- how to write Android UI tests using UI Automator library
- how to write Android UI tests using Espresso library
- how to use Android Test Recorder
- how to use Monkey tool
Download the prepared project for every step from Github and open it in Android studio. Everything important is prepared for you. The Code Lab is divided into parts.
In this part of the code lab we create Android test using UI Automator library.
In this part of the code lab we create Android test using Espresso library.
In this part of the code lab we learn to use Test Recorder tool.
In this part of the code lab we learn to use Monkey tool.