Layout and Image Recognition Driving Cross-Platform Automated Mobile Testing
Not on the map. Why?
Abstract (arXiv)
The fragmentation problem has extended from Android to different platforms, such as iOS, mobile web, and even mini-programs within some applications (app). In such a situation, recording and replaying test scripts is a popular automated mobile app testing approaches. But such approach encounters severe problems when crossing platforms. Different versions of the same app need to be developed to support different platforms relying on different platform supports. Therefore, mobile app developers need to develop and maintain test scripts for multiple platforms aimed at completely the same test requirements, greatly increasing testing costs. However, we discover that developers adopt highly similar user interface layouts for versions of the same app on different platforms. Such a phenomenon inspires us to replay test scripts from the perspective of similar UI layouts. We propose an image-driven mobile app testing framework, utilizing Widget Feature Matching and Layout Characterization Matching. We use computer vision technologies to perform UI feature comparison and layout hierarchy extraction on app screenshots to obtain UI structures with rich contextual information, including coordinates, relative relationship, etc. Based on acquired UI structures, we can form a platform-independent test script, and then locate the target widgets under test. Thus, the proposed framework non-intrusively replays test scripts according to a novel platform-independent test script model. We also design and implement a tool named LIT to devote the proposed framework into practice, based on which, we conduct an empirical study to evaluate the effectiveness and usability of the proposed testing framework. Results show that the overall replay accuracy reaches around 63.39% on Android (14% improvement over state-of-the-art approaches) and 21.83% on iOS (98% improvement over state-of-the-art approaches).
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Aug 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 0; 2024: 1; 2025: 0; 2026: 2.
4 papers.
- 2024VGA: Vision GUI Assistant -- Minimizing Hallucinations through Image-Centric Fine-Tuningcited by 9
- 2021Robust Active Learning: Sample-Efficient Training of Robust Deep Learning Modelscited by 2
- 2026Agent-Integrated Software: Interaction Contracts and Continuous Assurancecited by 1
- 2026An Empirical Study for Android-to-OpenHarmony GUI Test Migrationcited by 0
- 2026Agent-Integrated Software: Interaction Contracts and Continuous Assurance10 Sep 2026
- 2026An Empirical Study for Android-to-OpenHarmony GUI Test Migration13 Jul 2026
- 2024VGA: Vision GUI Assistant -- Minimizing Hallucinations through Image-Centric Fine-Tuning20 Jun 2024
- 2021Robust Active Learning: Sample-Efficient Training of Robust Deep Learning Models5 Dec 2021