Breaking Waiting: Accelerating Android GUI Testing via Widget Readiness Analysis

Automated GUI testing for Android applications faces a challenge: determining when to execute test actions during interface rendering. Common approaches either use fixed delays between events or wait for complete GUI rendering, resulting in a trade-off between test reliability and efficiency. Fixed short waits cause flaky tests when elements are not ready, while conservative approaches waste testing time waiting for irrelevant widgets. To address this limitation, we present TurboDroid, a technique that detects widget-level readiness through method dependency analysis. TurboDroid identifies methods that affect widget rendering through static analysis, then monitors their execution alongside dynamic dependencies during testing. This enables a widget-specific “test-when-ready” approach that executes actions as soon as the target widget is determined to be ready. TurboDroid combines: (1) static analysis to identify dependencies between methods and UI elements, (2) runtime monitoring to detect widget readiness based on these dependencies, and (3) a specialized event dispatching mechanism for partially rendered GUIs. Experiments on real-world Android applications show that TurboDroid outperforms the evaluated state-of-the-art baselines. TurboDroid accelerates bug reproduction by 17.4% and detects 26 more crashes (83 vs. 57), while achieving higher activity coverage, greater code coverage, and broader GUI state exploration, with all improvements being statistically significant.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Software Engineering and Methodology
Published
2026-09-30
DOI
https://doi.org/10.1145/3844728
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Breaking Waiting: Accelerating Android GUI Testing via Widget Readiness Analysis

Xiaohu Yang, Jue Wang, Xin Yin, Chao Ni et al.
ACM Transactions on Software Engineering and Methodology
Software Testing and Debugging Techniques
article

Breaking Waiting: Accelerating Android GUI Testing via Widget Readiness Analysis

Xiaohu Yang, Jue Wang, Xin Yin, Chao Ni, Xinrui Li, Xiaohua Xin, Carolyn Sun
article en

Abstract

Automated GUI testing for Android applications faces a challenge: determining when to execute test actions during interface rendering. Common approaches either use fixed delays between events or wait for complete GUI rendering, resulting in a trade-off between test reliability and efficiency. Fixed short waits cause flaky tests when elements are not ready, while conservative approaches waste testing time waiting for irrelevant widgets. To address this limitation, we present TurboDroid, a technique that detects widget-level readiness through method dependency analysis. TurboDroid identifies methods that affect widget rendering through static analysis, then monitors their execution alongside dynamic dependencies during testing. This enables a widget-specific “test-when-ready” approach that executes actions as soon as the target widget is determined to be ready. TurboDroid combines: (1) static analysis to identify dependencies between methods and UI elements, (2) runtime monitoring to detect widget readiness based on these dependencies, and (3) a specialized event dispatching mechanism for partially rendered GUIs. Experiments on real-world Android applications show that TurboDroid outperforms the evaluated state-of-the-art baselines. TurboDroid accelerates bug reproduction by 17.4% and detects 26 more crashes (83 vs. 57), while achieving higher activity coverage, greater code coverage, and broader GUI state exploration, with all improvements being statistically significant.

ACM Transactions on Software Engineering and Methodology
Monash University (AU), Zhejiang University (CN), Nanjing University (CN)
Openalex Percentile: Top 6%
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Breaking Waiting: Accelerating Android GUI Testing via Widget Readiness Analysis — Xiaohu Yang, Jue Wang, et al. · ACM Transactions on Software Engineering and Methodology (2026) | TGRS Research Map | TGRS