Chapter 1 - Prerequisites

Chapter 2 - Image-based Functional Testing

Chapter 3 - Visual Validation of Mobile Apps With Appium

Whats visual validation?

Its checking that there were no inappropiate visual changes between versions of our app.

Functional vs Visual Testing

Functional Testing

Ensures no bugs in the input-output funcionality of your app

Visual Testing

Ensures no visual discrepancies detract from the aesthetics or usability of your app

How do we use Appium for the purpose of visual validation?

IT’S ALL ABOUT SCREENSHOTS!.

For every view that we want to visually validate in the course of a visual test, we need to first take a screenshot of that view and save it.

We’ll call these the baseline screenshots.

They're the gold standard that we'll be comparing our future test runs against.

They're the gold standard that we'll be comparing our future test runs against.

Appium’s OpenCV Image Comparison Methods

Untitled