UI automation - General

Quality is the ally of schedule and cost, not their adversary.

General

This section is just a short primer on UI test automation. More will be covered in the following sections on Web test automation and Mobile test automation.

Test automation is done on several levels represented by the test pyramid, but for the purposes of this article, we are concerned with UI test automation.

Read up on the test pyramid here.

test-pyramid.png

UI automation entails writing a test script which will perform the same actions a human tester would on a particular piece of finished/built software.

There are plenty of tools available, but generally there are two approaches:

You can code and run your tests using just a text editor or an actual IDE which will help you organize your tests and test data, connect to bug tracking systems, etc.

Tools

Web frameworks - Selenium

Selenium is probably the most popular web automation framework built on top of WebDriver (as many others are). We use it for web UI automation.

Selenium IDE was developed for testers and developers to record their actions as they follow the workflow that they need test.

There are plenty of competing tools and frameworks out there. To name a few:

Mobile frameworks - Appium

Selenium's mobile analogue, used for automating hybrid and native mobile apps. We use it for mobile UI automation.

Appium is an:

Philosophy

How does it do it?

Advantages


ui-test-automation.gif