Avgust: automating usage-based test generation from videos of app executions
Yixue Zhao, Saghar Talebipour, Kesina Baral, Hyojae Park, Leon Yee, Safwat Ali Khan, Yuriy Brun, Nenad Medvidovic, Kevin Moran
摘要
Writing and maintaining UI tests for mobile apps is a time-consuming and tedious task. While decades of research have produced automated approaches for UI test generation, these approaches typically focus on testing for crashes or maximizing code coverage. By contrast, recent research has shown that developers prefer usage-based tests, which center around specific uses of app features, to help support activities such as regression testing. Very few existing techniques support the generation of such tests, as doing so requires automating the difficult task of understanding the semantics of UI screens and user inputs. In this paper, we introduce Avgust, which automates key steps of generating usage-based tests. Avgust uses neural models for image understanding to process video recordings of app uses to synthesize an app-agnostic state-machine encoding of those uses. Then, Avgust uses this encoding to synthesize test cases for a new target app. We evaluate Avgust on 374 videos of common uses of 18 popular apps and show that 69% of the tests Avgust generates successfully execute the desired usage, and that Avgust's classifiers outperform the state of the art.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- MotorEase: Automated Detection of Motor Impairment Accessibility Issues in Mobile App UIs 引用了 Translating video recordings of mobile app usages into replayable scenarios
- GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs 引用了 MotorEase: Automated Detection of Motor Impairment Accessibility Issues in Mobile App UIs
- GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs 引用了 Object detection for graphical user interface: old fashioned or deep learning or a combination?
- Object detection for graphical user interface: old fashioned or deep learning or a combination? 引用了 Translating video recordings of mobile app usages into replayable scenarios
引用它的顶会 Paper2
- MotorEase: Automated Detection of Motor Impairment Accessibility Issues in Mobile App UIsArun Krishna Vajjala, S. M. Hasan Mansur, Justin Jose, Kevin MoranICSE 2024 · 11 次引用
- GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific BugsRuofan Liu, Xiwen Teoh, Yun Lin, Guanjie Chen 等ISSTA 2025 · 5 次引用
它引用的 Paper11
- Object detection for graphical user interface: old fashioned or deep learning or a combination?Jieshan Chen, Mulong Xie, Zhenchang Xing, Chunyang Chen 等FSE 2020 · 144 次引用
- Time-travel testing of Android appsZhen Dong, Marcel Böhme, Lucia Cojocaru, Abhik RoychoudhuryICSE 2020 · 104 次引用
- Screen2Vec: Semantic Embedding of GUI Screens and GUI ComponentsToby Jia-Jun Li, Lindsay Popowski, Tom M. Mitchell, Brad A. MyersCHI 2021 · 72 次引用
- Translating video recordings of mobile app usages into replayable scenariosCarlos Bernal-Cárdenas, Nathan Cooper, Kevin Moran, Oscar Chaparro 等ICSE 2020 · 61 次引用
- ComboDroid: generating high-quality test inputs for Android apps via use case combinationsJue Wang, Yanyan Jiang, Chang Xu, Chun Cao 等ICSE 2020 · 61 次引用
相关 Paper
- Automated Test Transfer across Android Apps using Large Language ModelsBenyamin Beyzaei, Saghar Talebipour, Ghazal Rafiei, Nenad Medvidovic 等ISSTA 2025 · 2 次引用
- Ex pede Herculem: Augmenting Activity Transition Graph for Apps via Graph Convolution NetworkZhe Liu, Chunyang Chen, Junjie Wang, Yuhui Su 等ICSE 2023 · 11 次引用
- Reinforcement learning based curiosity-driven testing of Android applicationsMinxue Pan, An Huang, Guoxin Wang, Tian Zhang 等ISSTA 2020 · 166 次引用
- FrUITeR: a framework for evaluating UI test reuseYixue Zhao, Justin Chen, Adriana Sejfia, Marcelo Schmitt Laser 等FSE 2020 · 33 次引用
- UI Test Migration Across Mobile PlatformsSaghar Talebipour, Yixue Zhao, Luka Dojcilovic, Chenggang Li 等ASE 2021 · 30 次引用
