Lune

FSE2021Top-tier venue

Vet: identifying and avoiding UI exploration tarpits

Wenyu Wang, Wei Yang, Tianyin Xu, Tao Xie

Abstract

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.

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.

10 top-tier papers have 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

  • Make LLM a Testing Expert: Bringing Human-like Interaction to Mobile GUI Testing via Functionality-aware Decisions cites 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 cites Time-travel testing of Android apps
  • Make LLM a Testing Expert: Bringing Human-like Interaction to Mobile GUI Testing via Functionality-aware Decisions cites 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 cites 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 cites Time-travel testing of Android apps
  • Virtual Device Farms for Mobile App Testing at Scale: A Pursuit for Fidelity, Efficiency, and Accessibility cites 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 cites Time-travel testing of Android apps
  • Guardian: A Runtime Framework for LLM-Based UI Exploration cites An infrastructure approach to improving effectiveness of Android UI testing tools
  • Guardian: A Runtime Framework for LLM-Based UI Exploration cites Time-travel testing of Android apps
  • Guardian: A Runtime Framework for LLM-Based UI Exploration cites Fill in the Blank: Context-aware Automated Text Input Generation for Mobile GUI Testing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. Fill in the Blank: Context-aware Automated Text Input Generation for Mobile GUI TestingZhe Liu, Chunyang Chen, Junjie Wang, Xing Che et al.ICSE 2023 · 107 citations
  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 et al.ICSE 2024 · 81 citations
  3. Virtual Device Farms for Mobile App Testing at Scale: A Pursuit for Fidelity, Efficiency, and AccessibilityHao Lin, Jiaxing Qiu, Hongyi Wang, Zhenhua Li et al.MobiCom 2023 · 18 citations
  4. Guardian: A Runtime Framework for LLM-Based UI ExplorationDezhi Ran, Hao Wang, Zihe Song, Mengzhou Wu et al.ISSTA 2024 · 13 citations
  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 citations

Builds on4

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

Related papers

  1. Badge: Prioritizing UI Events with Hierarchical Multi-Armed Bandits for Automated UI TestingDezhi Ran, Hao Wang, Wenyu Wang, Tao XieICSE 2023 · 9 citations
  2. TaOPT: Tool-Agnostic Optimization of Parallelized Automated Mobile UI TestingDezhi Ran, Zihe Song, Wenyu Wang, Wei Yang et al.ASPLOS 2025 · 2 citations
  3. Automata-Based Trace Analysis for Aiding Diagnosing GUI Testing Tools for AndroidEnze Ma, Shan Huang, Weigang He, Ting Su et al.FSE 2023 · 3 citations
  4. Multiple-entry testing of Android applications by constructing activity launching contextsJiwei Yan, Hao Liu, Linjie Pan, Jun Yan et al.ICSE 2020 · 31 citations
  5. Mobile Application Coverage: The 30% Curse and Ways ForwardFaridah Akinotcho, Lili Wei, Julia RubinICSE 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines