paperbot · PL 论文追踪

全部论文 待读 收藏

P2 An infrastructure approach to improving effectiveness of Android UI testing tools

一种通过基础设施提升 Android UI 测试工具有效性的方法
ISSTA Proceedings of the 30th ACM SIGSOFT International Symposium on Software Testing and Analysis2021匹配度 1/10 · 论文聚焦 Android UI 测试工具的基础设施效率与 UIAutomator 操作瓶颈,属于软件测试/移动测试方向,不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户研究画像的核心方向基本无关。引用 33 inbox
Wenyu Wang, Wing Lam, Tao Xie
crossref: 2026-09-12

AI 速览

一句话:揭示 Android UI 测试工具受 UIAutomator 操作低效拖累,提出基础设施层面的改进思路。

Android 应用质量保障需求促使研究者开发了众多 UI 测试工具,但近期研究表明,这些工具在流行工业应用上的代码覆盖率通常较低;在合理运行时间内,多数先进工具甚至无法超过简单的 Monkey。本文的动机研究进一步发现,这些工具依赖 Android 框架的 UIAutomator 执行 UI Hierarchy Capturing(捕获屏幕内容信息)和 UI Event Execution(执行点击等 UI 事件)两类操作,而这两类操作往往效率低下,合计平均占用 70% 的给定测试时间。基于此,论文从基础设施层面提出改进方法,以提升 Android UI 测试工具有效性;摘要主要报告了瓶颈定位,未给出所提方法的最终评估结果。

问题
Android UI 测试工具在大型工业应用上覆盖率低,甚至不如 Monkey,亟需定位并解决其效率瓶颈。
方法
通过动机研究剖析测试工具对 UIAutomator 的使用,定位 UI Hierarchy Capturing 与 UI Event Execution 两类低效操作,并以基础设施层面的方法进行改进。
评估
动机研究测量现有工具在流行工业应用上的表现及操作耗时,发现两类操作平均占 70% 测试时间;摘要未报告新方法的完整评估数据。
原文摘要(Abstract)

Due to the importance of Android app quality assurance, many Android UI testing tools have been developed by researchers over the years. However, recent studies show that these tools typically achieve low code coverage on popular industrial apps. In fact, given a reasonable amount of run time, most state-of-the-art tools cannot even outperform a simple tool, Monkey, on popular industrial apps with large codebases and sophisticated functionalities. Our motivating study finds that these tools perform two types of operations, UI Hierarchy Capturing (capturing information about the contents on the screen) and UI Event Execution (executing UI events, such as clicks), often inefficiently using UIAutomator, a component of the Android framework. In total, these two types of operations use on average 70% of the given test time.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6695,
  title = {An infrastructure approach to improving effectiveness of Android UI testing tools},
  author = {Wenyu Wang and Wing Lam and Tao Xie},
  booktitle = {ISSTA},
  year = {2021},
  doi = {10.1145/3460319.3464828}
}