Lune

ICSE2023顶会

Badge: Prioritizing UI Events with Hierarchical Multi-Armed Bandits for Automated UI Testing

Dezhi Ran, Hao Wang, Wenyu Wang, Tao Xie

摘要

To assure high quality of mobile applications (apps for short), automated UI testing triggers events (associated with UI elements on app UIs) without human intervention, aiming to maximize code coverage and find unique crashes. To achieve high test effectiveness, automated UI testing prioritizes a UI event based on its exploration value (e.g., the increased code coverage of future exploration rooted from the UI event). Various strategies have been proposed to estimate the exploration value of a UI event without considering its exploration diversity (reflecting the variance of covered code entities achieved by explorations rooted from this UI event across its different triggerings), resulting in low test effectiveness, especially on complex mobile apps. To address the preceding problem, in this paper, we propose a new approach named Badge to prioritize UI events considering both their exploration values and exploration diversity for effective automated UI testing. In particular, we design a hierarchical multi-armed bandit model to effectively estimate the exploration value and exploration diversity of a UI event based on its historical explorations along with historical explorations rooted from UI events in the same UI group. We evaluate Badge on 21 highly popular industrial apps widely used by previous related work. Experimental results show that Badge outperforms state-of-the-art/practice tools with 18%-146% relative code coverage improvement and finding 1.19-5.20 × unique crashes, demonstrating the effectiveness of Badge. Further experimental studies confirm the benefits brought by Badge's individual algorithms.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Vet: identifying and avoiding UI exploration tarpits 引用了 An infrastructure approach to improving effectiveness of Android UI testing tools
  • Vet: identifying and avoiding UI exploration tarpits 引用了 Time-travel testing of Android apps
  • Navigating Mobile Testing Evaluation: A Comprehensive Statistical Analysis of Android GUI Testing Metrics 引用了 Reinforcement learning based curiosity-driven testing of Android applications
  • Navigating Mobile Testing Evaluation: A Comprehensive Statistical Analysis of Android GUI Testing Metrics 引用了 Time-travel testing of Android apps
  • Navigating Mobile Testing Evaluation: A Comprehensive Statistical Analysis of Android GUI Testing Metrics 引用了 Benchmarking automated GUI testing for Android against real-world bugs
  • Benchmarking automated GUI testing for Android against real-world bugs 引用了 Reinforcement learning based curiosity-driven testing of Android applications
  • Benchmarking automated GUI testing for Android against real-world bugs 引用了 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 引用了 Reinforcement learning based curiosity-driven testing of Android applications
  • Guardian: A Runtime Framework for LLM-Based UI Exploration 引用了 Vet: identifying and avoiding UI exploration tarpits
  • Guardian: A Runtime Framework for LLM-Based UI Exploration 引用了 Time-travel testing of Android apps
  • TaOPT: Tool-Agnostic Optimization of Parallelized Automated Mobile UI Testing 引用了 An infrastructure approach to improving effectiveness of Android UI testing tools
  • TaOPT: Tool-Agnostic Optimization of Parallelized Automated Mobile UI Testing 引用了 Reinforcement learning based curiosity-driven testing of Android applications
  • TaOPT: Tool-Agnostic Optimization of Parallelized Automated Mobile UI Testing 引用了 Vet: identifying and avoiding UI exploration tarpits
  • TaOPT: Tool-Agnostic Optimization of Parallelized Automated Mobile UI Testing 引用了 Guardian: A Runtime Framework for LLM-Based UI Exploration
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. Code Repair with LLMs gives an Exploration-Exploitation TradeoffHao Tang, Keya Hu, Jin Zhou, Sicheng Zhong 等NeurIPS 2024 · 85 次引用
  2. Guardian: A Runtime Framework for LLM-Based UI ExplorationDezhi Ran, Hao Wang, Zihe Song, Mengzhou Wu 等ISSTA 2024 · 13 次引用
  3. GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific BugsRuofan Liu, Xiwen Teoh, Yun Lin, Guanjie Chen 等ISSTA 2025 · 5 次引用
  4. Navigating Mobile Testing Evaluation: A Comprehensive Statistical Analysis of Android GUI Testing MetricsYuanhong Lan, Yifei Lu, Minxue Pan, Xuandong LiASE 2024 · 4 次引用
  5. TaOPT: Tool-Agnostic Optimization of Parallelized Automated Mobile UI TestingDezhi Ran, Zihe Song, Wenyu Wang, Wei Yang 等ASPLOS 2025 · 2 次引用

它引用的 Paper7

  1. Reinforcement learning based curiosity-driven testing of Android applicationsMinxue Pan, An Huang, Guoxin Wang, Tian Zhang 等ISSTA 2020 · 166 次引用
  2. Time-travel testing of Android appsZhen Dong, Marcel Böhme, Lucia Cojocaru, Abhik RoychoudhuryICSE 2020 · 104 次引用
  3. Benchmarking automated GUI testing for Android against real-world bugsTing Su, Jue Wang, Zhendong SuFSE 2021 · 77 次引用
  4. Vet: identifying and avoiding UI exploration tarpitsWenyu Wang, Wei Yang, Tianyin Xu, Tao XieFSE 2021 · 35 次引用
  5. An infrastructure approach to improving effectiveness of Android UI testing toolsWenyu Wang, Wing Lam, Tao XieISSTA 2021 · 33 次引用

相关 Paper

  1. Automata-Based Trace Analysis for Aiding Diagnosing GUI Testing Tools for AndroidEnze Ma, Shan Huang, Weigang He, Ting Su 等FSE 2023 · 3 次引用
  2. From Suspicious Signals to Crashes: Guiding Bug-Driven GUI Testing via Code-Inspired TracingMengzhuo Chen, Zhe Liu, Chunyang Chen, Junjie Wang 等FSE 2026
  3. Deeply Reinforcing Android GUI Testing with Deep Reinforcement LearningYuanhong Lan, Yifei Lu, Zhong Li, Minxue Pan 等ICSE 2024 · 21 次引用
  4. Mobile Bug Report Reproduction via Global Search on the App UI ModelZhaoxu Zhang, Fazle Mohammed Tawsif, Komei Ryu, Tingting Yu 等FSE 2024 · 4 次引用
  5. Mobile Application Coverage: The 30% Curse and Ways ForwardFaridah Akinotcho, Lili Wei, Julia RubinICSE 2025 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖