Lune

ASE2023Top-tier venue

Automated Fixing of Web UI Tests via Iterative Element Matching

Yuanzhang Lin, Guoyao Wen, Xiang Gao

Abstract

Web UI test cases are used for the automatic testing of web applications. When a web application is updated, these UI tests should also be updated for regression testing of the new version of web application. With the rapid evolution, updating UI tests is a tedious and time-consuming task. To solve these problems, automatically repairing web UI tests has gained increasing attention recently. To repair web UI tests, the most important step is to match the UI elements before and after the web page update. Existing work matches UI elements according to visual information, attributes value, or Document Object Model (DOM) structures. However, they either achieve low element matching accuracy or only work on simple UI tests. To solve these problems, we proposed UITestFix, an approach based on a novel iterative matching algorithm for improving the accuracy of matching UI elements. UITestFix is designed based on two main insights: (1) beyond attribute and DOM structures, the relations between different elements can also guide the matching process, and (2) the matching results of previous iterations could guide the matching of the current iteration. Our evaluation of publicly available datasets and two industrial apps shows that UITestFix outperforms four existing approaches by achieving more accurate element matching and producing more correct fixes.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Who's to Blame? Rethinking the Brittleness of Automated Web GUI Testing from a Pragmatic Perspective cites WebEvo: taming web application evolution via detecting semantic structure changes
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Who's to Blame? Rethinking the Brittleness of Automated Web GUI Testing from a Pragmatic PerspectiveHaonan Zhang, Kundi Yao, Zishuo Ding, Lizhi Liao et al.ASE 2025

Builds on3

  1. Semantic matching of GUI events for test reuse: are we there yet?Leonardo Mariani, Ali Mohebbi, Mauro Pezzè, Valerio TerragniISSTA 2021 · 34 citations
  2. GUIDER: GUI structure and vision co-guided test script repair for Android appsTongtong Xu, Minxue Pan, Yu Pei, Guiyin Li et al.ISSTA 2021 · 30 citations
  3. WebEvo: taming web application evolution via detecting semantic structure changesFei Shao, Rui Xu, Wasif Arman Haque, Jingwei Xu et al.ISSTA 2021 · 11 citations

Related papers

  1. Semantic Test Repair for Web ApplicationsXiaofang Qi, Xiang Qian, Yanhui LiFSE 2023 · 5 citations
  2. Characterizing and Repairing Obsolete Android GUI Tests under UI EvolutionShiwen Song, Yiheng Xiong, Wenbo Guo, Manqi Sun et al.ISSTA 2026
  3. WEFix: Intelligent Automatic Generation of Explicit Waits for Efficient Web End-to-End Flaky TestsXinyue Liu, Zihe Song, Weike Fang, Wei Yang et al.WWW 2024 · 9 citations
  4. Comprehensive Semantic Repair of Obsolete GUI Test Scripts for Mobile ApplicationsShaoheng Cao, Minxue Pan, Yu Pei, Wenhua Yang et al.ICSE 2024 · 7 citations
  5. ConfFix: Repairing Configuration Compatibility Issues in Android AppsHuaxun Huang, Chi Xu, Ming Wen, Yepang Liu et al.ISSTA 2023 · 10 citations
Dusk over the sea between two cliffs drawn in fine vertical lines