Android UI testing Code Lab
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.
Part 1 - UI Automator
In this part of the code lab we create Android test using UI Automator library.
Part 2 - Espresso
In this part of the code lab we create Android test using Espresso library.
Part 3 - Test recorder
In this part of the code lab we learn to use Test Recorder tool.
Part 4 - Monkey
In this part of the code lab we learn to use Monkey tool.