Think Outside the Box: Automating Inter-App Functionality Testing via Memory Implanting and Reasoning
arXiv:2612.03477 · doi:10.1145/3744916.3764538
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.
arXiv commentAccepted by ICSE 2026
References in corpus (17)
- Large-Scale Analysis of Framework-Specific Exceptions in Android Apps
- Generating Accurate Assert Statements for Unit Test Cases using Pretrained Transformers
- Using Large Language Models to Generate JUnit Tests: An Empirical Study
- Owl Eyes: Spotting UI Display Issues via Visual Understanding
- Nighthawk: Fully Automated Localizing UI Display Issues via Visual Understanding
- Guided Bug Crush: Assist Manual GUI Testing of Android Apps via Hint Moves
- VET: Identifying and Avoiding UI Exploration Tarpits
- Unblind Text Inputs: Predicting Hint-text of Text Input in Mobile Apps via LLM
- VisionTasker: Mobile Task Automation Using Vision Based UI Understanding and LLM Task Planning
- Mobile-Agent: Autonomous Multi-Modal Mobile Device Agent with Visual Perception
- DroidBot-GPT: GPT-powered UI Automation for Android
- A Comprehensive Survey of Agents for Computer Use: Foundations, Challenges, and Future Directions
- Large Language Model-Brained GUI Agents: A Survey
- Conv-CoA: Improving Open-domain Question Answering in Large Language Models via Conversational Chain-of-Action
- AUITestAgent: Automatic Requirements Oriented GUI Function Testing
- AppAgent v2: Advanced Agent for Flexible Mobile Interactions
- MobileExperts: A Dynamic Tool-Enabled Agent Team in Mobile Devices