Think Outside the Box: Automating Inter-App Functionality Testing via Memory Implanting and Reasoning
Mengzhuo Chen, Zhe Liu, Chunyang Chen, Junjie Wang, Yangguang Xue, Boyu Wu, Libin Wu, Qing Wang
Abstract
Inter-app functionality requires multiple apps to collaborate to complete a task. Frequent app updates and open-ended interactions make inter-app GUI testing difficult for approaches based on predefined models or historical training data. LLM-based testers also struggle to map instructions to GUI elements and may take irreversible actions along context-dependent paths. We propose InterDroid, an automated GUI testing approach that implants structured knowledge of prior inter-app interactions into an LLM's memory. InterDroid retrieves relevant interactions by combining visual and textual GUI information. Inspired by memory implantation in cognitive psychology, it uses global memory to present prior inter-app paths as conversations and local memory to track state transitions during testing. A monitor tracks progress and detects deviations. InterDroid integrates with existing GUI testing tools, activates when execution switches to another app, and returns control after inter-app testing. We evaluate InterDroid on 100 inter-app functionalities across 63 apps against state-of-the-art GUI testing baselines. Compared with the best baseline, InterDroid improves page coverage by up to 133%, action coverage by 124%, and exact match accuracy by 268%. It also detects 43 previously unknown crash bugs in apps from Google Play, of which 31 were fixed and 12 were confirmed by developers.
Create a lesson
Metadata
- Journal
- Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering (ICSE 2026), pp. 3272-3284
- Comments
- Accepted by ICSE 2026
Related papers
Standing on the Shoulders of Giants: Bug-Aware Automated GUI Testing via Retrieval Augmentation
Shared title terminologycs.SEMengzhuo Chen, Zhe Liu, Chunyang Chen et al.
Beyond Static GUI Agent: Evolving LLM-based GUI Testing via Dynamic Memory
Shared title terminologycs.SEMengzhuo Chen, Zhe Liu, Chunyang Chen et al.
A Large Language Model-Based Framework for Automated Game Quest Testing
Shared title terminologycs.SEEnhong Mu, Nianyu Li, Jinyu Cai et al.
SimFusion: Multi-Fidelity Simulation-based Testing of Automated Driving Systems
Shared title terminologycs.SELev Sorokin, Berfin Dinler, Alessio Gambi et al.
Who Checks the Model Checkers: Hardened Testing of TLA+ Tools
Shared title terminologycs.SEIgor Konnov
Testing a Safety-Critical Matching Component of an LLM-Based Simulated Patient: Blind Test Sets, Overfitted Cut-offs and a Cascade
Shared title terminologycs.SEFaaz Khan Mohammad, Sanket Salvi