Toward a Non-invasive Robotic-supported Approach for Data Loss Detection in Android Applications
Abstract
Context: Maintaining data consistency in mobile applications is essential, as activity restarts--such as those triggered by screen rotations--can lead to user data loss. Existing automated approaches, including DLD and R-DLD, rely on semi-invasive testing methods that require system-level access through debugging tools like ADB or app instrumentation. These dependencies limit their applicability to specific devices and reduce realism in user interaction. Objective: This work aims to overcome the limitations of semi-invasive data loss detection by introducing a fully non-invasive, hardware-based framework for Android applications. The goal is to preserve the authenticity of user interaction while maintaining detection accuracy comparable to existing approaches. Method: We present a new version of R-DLD, which leverages an industrial robotic arm to reproduce realistic user interactions such as touch gestures, scrolling, and device rotations without system-level access. The oracle was completely redesigned, using an external camera and computer vision techniques that apply similarity and dissimilarity metrics to identify data loss after double rotation events. Results: Experimental evaluation on thirty benchmark Android applications showed that the new R-DLD detected 100% of known data loss cases, matching R-DLD's performance while operating entirely non-invasively. The results also demonstrate the robustness of the visual oracle against environmental lighting variations. Conclusion: The new R-DLD represents a significant advancement in realistic, non-invasive testing for mobile applications. By eliminating the need for ADB or instrumentation, it broadens the applicability of automated data loss detection and establishes a foundation for future research in vision-based, robotics-supported testing.
Create a lesson
Metadata
- Journal
- Information and Software Technology 194 (2026) 108072
- Comments
- 40 pages, 8 figures, 6 tables. Published in Information and Software Technology (Elsevier)
Related papers
Towards Autonomous Mobile Testing with LLM-Guided Non-Invasive Interaction
Shared title terminologycs.SEDavi Freitas, Breno Miranda, Juliano Iyoda
A Causal Loop Diagram supporting tool to bridge System Thinking and Software Engineering
Shared title terminologycs.SEThiago Felippe Neitzke Lahass, Júlia de Souza Borges, Amanda B. Apolinário et al.
ReleaseSynth: Scaling Data from Software Evolution for Long-Horizon Coding Agents
Shared title terminologycs.SEMan Ho Lam, Chaozheng Wang, Zongjie Li et al.
LegoReview: Scaling Code Review Data with Verification from Pull Request Histories
Shared title terminologycs.SERuoyu Wang, Jierun Chen, Yuxin Jiang et al.
What Load-Time Accessibility Checks Miss on Ad-Supported News Sites
Shared title terminologycs.SEMuhammad Hassnain
AMoRE: An agentic framework for end-to-end metamorphic testing of web applications
Shared title terminologycs.SEAndrei Coman, José Luis Fernández Alemán, Begoña Moros Valle