Scenario-Guided LLM-based Mobile App GUI Testing
Not on the map. Why?
Abstract (arXiv)
The assurance of mobile app GUI has become increasingly important, as the GUI serves as the primary medium of interaction between users and apps. Although numerous automated GUI testing approaches have been developed with diverse strategies, a substantial gap remains between these approaches and the underlying app business logic. Most existing approaches focus on general exploration rather than the completion of specific testing scenarios, often resulting in missed coverage of critical functionalities. Inspired by the manual testing process, which treats business logic, driven testing scenarios as the fundamental unit of testing, this paper introduces an approach that leverages large language models (LLMs) to comprehend the semantics expressed in app GUIs and their contextual relevance to given testing scenarios. Building upon this capability, we propose ScenGen, a novel scenario-guided LLM-based GUI testing framework that employs a multi-agent collaboration mechanism to simulate and automate the phases of manual testing. ScenGen integrates five agents. The Observer perceives the app GUI state by extracting and structuring GUI widgets and layouts, thereby interpreting the semantic information presented in the GUI. This information is then passed to the Decider, which makes scenario-driven decisions with the guidance of LLMs to identify target widgets and determine appropriate actions toward fulfilling specific testing goals. The Executor executes the decided operations on the app, while the Supervisor verifies whether the execution results align with the intended testing scenario completion, ensuring traceability and consistency in test generation and execution. Finally, the Recorder records the corresponding GUI operations into the context memory as a knowledge base for subsequent decision-making and concurrently monitors runtime bug occurrences.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 5 Jun 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Agent-Integrated Software: Interaction Contracts and Continuous Assurancecited by 1
- 2026Supporting software engineering tasks with agentic AI: Demonstration on document retrieval and test scenario generationcited by 0
- 2026WebMAC: A Multi-Agent Collaborative Framework for Scenario Testing of Web Systemscited by 0
- 2026GUITestScape: Towards Open-set Evaluation on Exploratory GUI Testingcited by 0
- 2026Agent-Integrated Software: Interaction Contracts and Continuous Assurance10 Sep 2026
- 2026GUITestScape: Towards Open-set Evaluation on Exploratory GUI Testing28 May 2026
- 2026WebMAC: A Multi-Agent Collaborative Framework for Scenario Testing of Web Systems15 Apr 2026
- 2026Supporting software engineering tasks with agentic AI: Demonstration on document retrieval and test scenario generation4 Feb 2026