TY - GEN
T1 - Comprehensive Semantic Repair of Obsolete GUI Test Scripts for Mobile Applications
AU - Cao, Shaoheng
AU - Pan, Minxue
AU - Pei, Yu
AU - Yang, Wenhua
AU - Zhang, Tian
AU - Wang, Linzhang
AU - Li, Xuandong
N1 - Publisher Copyright:
© 2024 ACM.
PY - 2024/4
Y1 - 2024/4
N2 - 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 re-pairing 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.
AB - 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 re-pairing 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.
KW - Android testing
KW - GUI test script repair
KW - regression testing
UR - http://www.scopus.com/inward/record.url?scp=85196822307&partnerID=8YFLogxK
U2 - 10.1145/3597503.3639108
DO - 10.1145/3597503.3639108
M3 - Conference article published in proceeding or book
AN - SCOPUS:85196822307
T3 - Proceedings - International Conference on Software Engineering
SP - 1096
EP - 1108
BT - Proceedings - 2024 ACM/IEEE 44th International Conference on Software Engineering, ICSE 2024
PB - IEEE Computer Society
T2 - 44th ACM/IEEE International Conference on Software Engineering, ICSE 2024
Y2 - 14 April 2024 through 20 April 2024
ER -