Similarity-based web element localization for robust test automation
Michel Nass, Emil Al\'egroth, Robert Feldt, Maurizio Leotta, Filippo, Ricca

TL;DR
This paper introduces Similo, a similarity-based web element localization method that improves robustness in test automation by effectively identifying web elements across website updates, outperforming existing approaches.
Contribution
The paper proposes and empirically evaluates Similo, a novel similarity-based approach for web element localization that enhances robustness in GUI test automation.
Findings
Similo outperforms the baseline in locating web elements across website updates.
Similo failed in 72 out of 598 cases, compared to 146 for the baseline.
Quantifying attribute similarity improves web element localization robustness.
Abstract
Non-robust (fragile) test execution is a commonly reported challenge in GUI-based test automation, despite much research and several proposed solutions. A test script needs to be resilient to (minor) changes in the tested application but, at the same time, fail when detecting potential issues that require investigation. Test script fragility is a multi-faceted problem, but one crucial challenge is reliably identifying and locating the correct target web elements when the website evolves between releases or otherwise fails and reports an issue. This paper proposes and evaluates a novel approach called similarity-based web element localization (Similo), which leverages information from multiple web element locator parameters to identify a target element using a weighted similarity score. The experimental study compares Similo to a baseline approach for web element localization. To get an…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software System Performance and Reliability · Software Engineering Research
