Comprehensive Semantic Repair of Obsolete GUI Test Scripts for Mobile Applications
Open Access
- 12 April 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-13
Abstract
Graphical User Interface (GUI) testing is one of the primary approaches for testing mobile apps. Test scripts serve as the main carrier of GUI testing, yet they are prone to obsolescence when the GUIs change with the apps' evolution. Existing repair approaches based on GUI layouts or images prove effective when the GUI changes between the base and updated versions are minor, however, they may struggle with substantial changes. In this paper, a novel approach named COSER is introduced as a solution to repairing broken scripts, which is capable of addressing larger GUI changes compared to existing methods. COSER incorporates both external semantic information from the GUI elements and internal semantic information from the source code to provide a unique and comprehensive solution. The efficacy of COSER was demonstrated through experiments conducted on 20 Android apps, resulting in superior performance when compared to the state-of-the-art tools METER and GUIDER. In addition, a tool that implements the COSER approach is available for practical use and future research.Keywords
Funding Information
- National Natural Science Foundation of China (62372227, 62232014)
This publication has 35 references indexed in Scilit:
- Test Transfer Across Mobile Apps Through Semantic Mapping2019
- Test Migration Between Mobile Apps with Similar Functionality2019
- Change-Based Test Script Maintenance for Android Apps2018
- ATOM: Automatic Maintenance of GUI Test Scripts for Evolving Mobile Applications2017
- Release Practices for Mobile Apps -- What do Users and Developers Think?2016
- SITAR: GUI Test Script RepairIEEE Transactions on Software Engineering, 2015
- Towards a Big Data Curated Benchmark of Inter-project Code Clones2014
- Repairing GUI Test Suites Using a Genetic Algorithm2010
- Inferring Types of References to GUI Objects in Test Scripts2009
- Maintaining and evolving GUI-directed test scripts2009