MCP
arXivarXiv
Preprint
Published: December 2, 2026
cs.SE

Think Outside the Box: Automating Inter-App Functionality Testing via Memory Implanting and Reasoning

1*1*21†1111†
1 Institute of Software Chinese Academy of Sciences
2 Technical University of Munich
* Equal contribution
† Corresponding authors
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.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first