Lune

FSE2021顶会

Vet: identifying and avoiding UI exploration tarpits

Wenyu Wang, Wei Yang, Tianyin Xu, Tao Xie

摘要

Despite over a decade of research, it is still challenging for mobile UI testing tools to achieve satisfactory effectiveness, especially on industrial apps with rich features and large code bases. Our experiences suggest that existing mobile UI testing tools are prone to exploration tarpits, where the tools get stuck with a small fraction of app functionalities for an extensive amount of time. For example, a tool logs out an app at early stages without being able to log back in, and since then the tool gets stuck with exploring the app’s pre-login functionalities (i.e., exploration tarpits) instead of its main functionalities. While tool vendors/users can manually hardcode rules for the tools to avoid specific exploration tarpits, these rules can hardly generalize, being fragile in face of diverted testing environments, fast app iterations, and the demand of batch testing product lines. To identify and resolve exploration tarpits, we propose VET, a general approach including a supporting system for the given specific Android UI testing tool on the given specific app under test (AUT). VET runs the tool on the AUT for some time and records UI traces, based on which VET identifies exploration tarpits by recognizing their patterns in the UI traces. VET then pinpoints the actions (e.g., clicking logout) or the screens that lead to or exhibit exploration tarpits. In subsequent test runs, VET guides the testing tool to prevent or recover from exploration tarpits. From our evaluation with state-of-the-art Android UI testing tools on popular industrial apps, VET identifies exploration tarpits that cost up to 98.6% testing time budget. These exploration tarpits reveal not only limitations in UI exploration strategies but also defects in tool implementations. VET automatically addresses the identified exploration tarpits, enabling each evaluated tool to achieve higher code coverage and improve crash-triggering capabilities.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Make LLM a Testing Expert: Bringing Human-like Interaction to Mobile GUI Testing via Functionality-aware Decisions 引用了 An infrastructure approach to improving effectiveness of Android UI testing tools
  • Make LLM a Testing Expert: Bringing Human-like Interaction to Mobile GUI Testing via Functionality-aware Decisions 引用了 Time-travel testing of Android apps
  • Make LLM a Testing Expert: Bringing Human-like Interaction to Mobile GUI Testing via Functionality-aware Decisions 引用了 Fill in the Blank: Context-aware Automated Text Input Generation for Mobile GUI Testing
  • Fill in the Blank: Context-aware Automated Text Input Generation for Mobile GUI Testing 引用了 An infrastructure approach to improving effectiveness of Android UI testing tools
  • Fill in the Blank: Context-aware Automated Text Input Generation for Mobile GUI Testing 引用了 Time-travel testing of Android apps
  • Virtual Device Farms for Mobile App Testing at Scale: A Pursuit for Fidelity, Efficiency, and Accessibility 引用了 An infrastructure approach to improving effectiveness of Android UI testing tools
  • Virtual Device Farms for Mobile App Testing at Scale: A Pursuit for Fidelity, Efficiency, and Accessibility 引用了 Time-travel testing of Android apps
  • Guardian: A Runtime Framework for LLM-Based UI Exploration 引用了 An infrastructure approach to improving effectiveness of Android UI testing tools
  • Guardian: A Runtime Framework for LLM-Based UI Exploration 引用了 Time-travel testing of Android apps
  • Guardian: A Runtime Framework for LLM-Based UI Exploration 引用了 Fill in the Blank: Context-aware Automated Text Input Generation for Mobile GUI Testing
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. Fill in the Blank: Context-aware Automated Text Input Generation for Mobile GUI TestingZhe Liu, Chunyang Chen, Junjie Wang, Xing Che 等ICSE 2023 · 107 次引用
  2. Make LLM a Testing Expert: Bringing Human-like Interaction to Mobile GUI Testing via Functionality-aware DecisionsZhe Liu, Chunyang Chen, Junjie Wang, Mengzhuo Chen 等ICSE 2024 · 81 次引用
  3. Virtual Device Farms for Mobile App Testing at Scale: A Pursuit for Fidelity, Efficiency, and AccessibilityHao Lin, Jiaxing Qiu, Hongyi Wang, Zhenhua Li 等MobiCom 2023 · 18 次引用
  4. Guardian: A Runtime Framework for LLM-Based UI ExplorationDezhi Ran, Hao Wang, Zihe Song, Mengzhou Wu 等ISSTA 2024 · 13 次引用
  5. MotorEase: Automated Detection of Motor Impairment Accessibility Issues in Mobile App UIsArun Krishna Vajjala, S. M. Hasan Mansur, Justin Jose, Kevin MoranICSE 2024 · 11 次引用

它引用的 Paper4

  1. DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep LearningMin Du, Feifei Li, Guineng Zheng, Vivek SrikumarCCS 2017 · 1,823 次引用
  2. Time-travel testing of Android appsZhen Dong, Marcel Böhme, Lucia Cojocaru, Abhik RoychoudhuryICSE 2020 · 104 次引用
  3. DeepIntent: Deep Icon-Behavior Learning for Detecting Intention-Behavior Discrepancy in Mobile AppsShengqu Xi, Shao Yang, Xusheng Xiao, Yuan Yao 等CCS 2019 · 74 次引用
  4. An infrastructure approach to improving effectiveness of Android UI testing toolsWenyu Wang, Wing Lam, Tao XieISSTA 2021 · 33 次引用

相关 Paper

  1. Badge: Prioritizing UI Events with Hierarchical Multi-Armed Bandits for Automated UI TestingDezhi Ran, Hao Wang, Wenyu Wang, Tao XieICSE 2023 · 9 次引用
  2. TaOPT: Tool-Agnostic Optimization of Parallelized Automated Mobile UI TestingDezhi Ran, Zihe Song, Wenyu Wang, Wei Yang 等ASPLOS 2025 · 2 次引用
  3. Automata-Based Trace Analysis for Aiding Diagnosing GUI Testing Tools for AndroidEnze Ma, Shan Huang, Weigang He, Ting Su 等FSE 2023 · 3 次引用
  4. Multiple-entry testing of Android applications by constructing activity launching contextsJiwei Yan, Hao Liu, Linjie Pan, Jun Yan 等ICSE 2020 · 31 次引用
  5. Mobile Application Coverage: The 30% Curse and Ways ForwardFaridah Akinotcho, Lili Wei, Julia RubinICSE 2025 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖