paperbot · PL 论文追踪

全部论文 待读 收藏

P2 GUIDER: GUI structure and vision co-guided test script repair for Android apps

GUIDER:GUI 结构与视觉协同引导的 Android 应用测试脚本修复
ISSTA Proceedings of the 30th ACM SIGSOFT International Symposium on Software Testing and Analysis2021匹配度 1/10 · 该论文研究 Android GUI 测试脚本修复,属于软件测试/程序修复方向,不涉及静态分析、形式化验证、浮点程序分析、贝叶斯程序分析或 LLM/Agent 与程序分析的交叉。虽然使用 GUI 结构与视觉信息,但方法与用户关注的 PL/AI 交叉主题基本无关。引用 31 inbox
Tongtong Xu, Minxue Pan, Yu Pei, Guiyin Li, Xia Zeng, Tian Zhang, Yuetang Deng, Xuandong Li
crossref: 2026-09-12

AI 速览

一句话:提出 GUIDER,协同利用 GUI 控件的结构与视觉信息,自动修复 Android 应用中因版本演化而失效的 GUI 测试脚本。

GUI 测试是 Android 应用回归测试的重要环节,而应用演化常使既有 GUI 测试脚本失效,因此过时脚本的自动修复对保持回归测试有效性至关重要。本文提出 GUIDER:其核心创新在于同时利用应用 GUI 中控件的结构信息与视觉信息,判断基础版本中的控件在更新版本中变成了什么,从而对失效的测试脚本动作进行定位与修复。作者实现了配套工具,并在流行的即时通讯与社交媒体应用微信上开展实验。结果表明 GUIDER 既有效又高效:与仅依赖视觉信息或仅依赖结构信息的现有 GUI 测试修复方法相比,GUIDER 生成的修复分别使多出 88.8% 和 54.9% 的测试动作能够正确执行。

问题
Android 应用演化后,基于旧版本编写的 GUI 测试脚本中的控件定位会失效,如何自动修复这些过时脚本以维持回归 GUI 测试的有效性。
方法
GUIDER 协同使用应用 GUI 上控件的结构信息与视觉信息,推断基础版本控件在更新版本应用中所对应的控件,并据此修复测试脚本;作者为该思路实现了原型工具。
评估
在流行的即时通讯与社交媒体应用微信上进行实验,与仅依赖视觉或仅依赖结构信息的现有 GUI 测试修复方法对比,GUIDER 生成的修复分别让多出 88.8% 和 54.9% 的测试动作正确执行,显示出有效性与效率。
原文摘要(Abstract)

GUI testing is an essential part of regression testing for Android apps. For regression GUI testing to remain effective, it is important that obsolete GUI test scripts get repaired after the app has evolved. In this paper, we propose a novel approach named GUIDER to automated repair of GUI test scripts for Android apps. The key novelty of the approach lies in the utilization of both structural and visual information of widgets on app GUIs to better understand what widgets of the base version app become in the updated version. A supporting tool has been implemented for the approach. Experiments conducted on the popular messaging and social media app WeChat show that GUIDER is both effective and efficient. Repairs produced by GUIDER enabled 88.8% and 54.9% more test actions to run correctly than those produced by existing approaches to GUI test repair that rely solely on visual or structural information of app GUIs.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6696,
  title = {GUIDER: GUI structure and vision co-guided test script repair for Android apps},
  author = {Tongtong Xu and Minxue Pan and Yu Pei and Guiyin Li and Xia Zeng and Tian Zhang and Yuetang Deng and Xuandong Li},
  booktitle = {ISSTA},
  year = {2021},
  doi = {10.1145/3460319.3464830}
}