paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Automated Fixing of Web UI Tests via Iterative Element Matching

通过迭代元素匹配自动修复 Web UI 测试
ASE 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE)2023匹配度 1/10 · 该论文研究 Web UI 测试的自动修复与元素匹配,属于软件测试/修复方向,但未涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析等用户核心研究方向。其问题和方法与用户研究画像基本无关。引用 12 inbox
Yuanzhang Lin, Guoyao Wen, Xiang Gao
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出 UITestFix,用迭代元素匹配算法提高 Web UI 测试修复中元素匹配的准确率与修复正确性。

Web 应用频繁更新后,UI 测试需要同步更新以支持回归测试,但人工维护成本高,自动修复因而受到关注。自动修复的关键步骤是匹配网页更新前后的 UI 元素。已有方法依赖视觉信息、属性值或 DOM 结构,但匹配准确率较低,或仅适用于简单 UI 测试。本文提出 UITestFix,其核心是一种新颖的迭代匹配算法:一方面利用元素之间的关系(超越属性与 DOM 结构)来指导匹配,另一方面用前一轮迭代的匹配结果指导当前轮匹配。作者在公开数据集与两个工业应用上进行了评估,结果表明 UITestFix 在元素匹配准确率和修复正确性上均优于四种现有方法。

问题
Web UI 测试在页面更新后需要修复,而修复的关键是准确匹配更新前后的 UI 元素;现有基于视觉、属性或 DOM 结构的方法匹配准确率低或适用范围有限。
方法
提出 UITestFix,采用迭代匹配算法:利用不同元素之间的关系信息,并以前一轮迭代的匹配结果指导当前轮匹配,从而逐步提升元素匹配准确率。
评估
在公开数据集和两个工业应用上与四种现有方法对比,评估元素匹配准确率和生成修复的正确性。
原文摘要(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.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{LinWG23,
  title = {Automated Fixing of Web UI Tests via Iterative Element Matching},
  author = {Yuanzhang Lin and Guoyao Wen and Xiang Gao},
  booktitle = {ASE},
  year = {2023},
  doi = {10.1109/ase56229.2023.00048}
}