GUITester: Enabling GUI Agents for Exploratory Defect Discovery
Yifei Gao, Jiang Wu, Xiaoyi Chen, Yifan Yang, Zhe Cui, Tianyi Ma, Jiaming Zhang, Jitao Sang
TL;DR
This work tackles the challenge of autonomous exploratory GUI testing by identifying two core issues—goal-oriented masking and execution-bias attribution—that hinder defect discovery by existing GUI agents. It introduces GUITestBench, the first interactive benchmark for exploratory GUI defects, and GUITester, a multi-agent framework with a Planning Execution Module and a Hierarchical Reflection Module that proactively probes defects and robustly attributes anomalies. Empirical results show that GUITester significantly improves defect detection over strong baselines, achieving up to 48.90% F1 on GUITestBench and demonstrating practical viability on real apps. The approach provides a foundation for scalable GUI quality assurance by enabling autonomous exploration, defect exposure, and accurate defect reporting in dynamic mobile applications.
Abstract
Exploratory GUI testing is essential for software quality but suffers from high manual costs. While Multi-modal Large Language Model (MLLM) agents excel in navigation, they fail to autonomously discover defects due to two core challenges: \textit{Goal-Oriented Masking}, where agents prioritize task completion over reporting anomalies, and \textit{Execution-Bias Attribution}, where system defects are misidentified as agent errors. To address these, we first introduce \textbf{GUITestBench}, the first interactive benchmark for this task, featuring 143 tasks across 26 defects. We then propose \textbf{GUITester}, a multi-agent framework that decouples navigation from verification via two modules: (i) a \textit{Planning-Execution Module (PEM)} that proactively probes for defects via embedded testing intents, and (ii) a \textit{Hierarchical Reflection Module (HRM)} that resolves attribution ambiguity through interaction history analysis. GUITester achieves an F1-score of 48.90\% (Pass@3) on GUITestBench, outperforming state-of-the-art baselines (33.35\%). Our work demonstrates the feasibility of autonomous exploratory testing and provides a robust foundation for future GUI quality assurance~\footnote{Our code is now available in~\href{https://github.com/ADaM-BJTU/GUITestBench}{https://github.com/ADaM-BJTU/GUITestBench}}.
