Visual Testing of GUIs by Abstraction

07/20/2020
by   Daniel Kraus, et al.
0

Ensuring the correct visual appearance of graphical user interfaces (GUIs) is important because visual bugs can cause substantial losses for businesses. An application might behave functionally correct in an automated test, but visual bugs can make the GUI effectively unusable for the user. Most of today's approaches for visual testing are pixel-based and tend to have flaws that are characteristic for image differencing. For instance, minor and unimportant visual changes often cause false positives, which confuse the user with unnecessary error reports. Our idea is to introduce an abstract GUI state (AGS), where we define structural relations to identify relevant GUI changes and ignore those that are unimportant from the user's point of view. In addition, we explore several strategies to address the GUI element identification problem in terms of AGS. This allows us to provide rich diagnostic information that help the user to better interpret changes. Based on the principles of golden master testing, we can support a fully-automated approach to visual testing by using the AGS. We have implemented our approach to visually test web pages and our experiments show that we are able to reliably detect GUI changes.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/19/2021

GLIB: Towards Automated Test Oracle for Graphically-Rich Applications

Graphically-rich applications such as games are ubiquitous with attracti...
research
01/18/2022

A Taxonomy of HTML5 Canvas Bugs

The HTML5 <canvas> is widely used to display high quality graphics in we...
research
08/03/2022

Automatically Detecting Visual Bugs in HTML5 <canvas> Games

The HTML5 <canvas> is used to display high quality graphics in web appli...
research
09/07/2023

Identifying Defect-Inducing Changes in Visual Code

Defects, or bugs, often form during software development. Identifying th...
research
12/15/2021

Nirikshak: An Autonomous Testing Framework

Quality Assurance (QA) is an important part of any product. But even wit...
research
01/10/2023

Robust web element identification for evolving applications by considering visual overlaps

Fragile (i.e., non-robust) test execution is a common challenge for auto...
research
08/01/2022

Similarity-based web element localization for robust test automation

Non-robust (fragile) test execution is a commonly reported challenge in ...

Please sign up or login with your details

Forgot password? Click here to reset