Robust web element identification for evolving applications by considering visual overlaps

01/10/2023
by   Michel Nass, et al.
0

Fragile (i.e., non-robust) test execution is a common challenge for automated GUI-based testing of web applications as they evolve. Despite recent progress, there is still room for improvement since test execution failures caused by technical limitations result in unnecessary maintenance costs that limit its effectiveness and efficiency. One of the most reported technical challenges for web-based tests concerns how to reliably locate a web element used by a test script. This paper proposes the novel concept of Visually Overlapping Nodes (VON) that reduces fragility by utilizing the phenomenon that visual web elements (observed by the user) are constructed from multiple web-elements in the Document Object Model (DOM) that overlaps visually. We demonstrate the approach in a tool, VON Similo, which extends the state-of-the-art multi-locator approach (Similo) that is also used as the baseline for an experiment. In the experiment, a ground truth set of 1163 manually collected web element pairs, from different releases of the 40 most popular websites on the internet, are used to compare the approaches' precision, recall, and accuracy. Our results show that VON Similo provides 94.7 identifying a web element in a new release of the same SUT. In comparison, Similo provides 83.8 the visually overlapping nodes concept/tool for web element localization in evolving web applications and contribute a novel way of thinking about web element localization in future research on GUI-based testing.

READ FULL TEXT

page 1

page 6

research
08/01/2022

Similarity-based web element localization for robust test automation

Non-robust (fragile) test execution is a commonly reported challenge in ...
research
06/09/2021

Erratum: Leveraging Flexible Tree Matching to Repair Broken Locators in Web Automation Scripts

Web applications are constantly evolving to integrate new features and f...
research
09/25/2018

Machines that test Software like Humans

Automated software testing involves the execution of test scripts by a m...
research
04/05/2019

A Visual Model for Web Applications Security Monitoring

This paper proposes a novel visual model for web applications security m...
research
09/11/2023

D2WFP: A Novel Protocol for Forensically Identifying, Extracting, and Analysing Deep and Dark Web Browsing Activities

The use of the un-indexed web, commonly known as the deep web and dark w...
research
11/23/2021

Style-Guided Web Application Exploration

A wide range of analysis and testing techniques targeting modern web app...
research
07/20/2020

Visual Testing of GUIs by Abstraction

Ensuring the correct visual appearance of graphical user interfaces (GUI...

Please sign up or login with your details

Forgot password? Click here to reset