Please use this identifier to cite or link to this item: http://hdl.handle.net/10397/94338
PIRA download icon_1.1View/Download Full Text
Title: GUI-guided test script repair for mobile apps
Authors: Pan, M
Xu, T
Pei, Y 
Li, Z
Zhang, T
Li, X
Issue Date: 1-Mar-2022
Source: IEEE transactions on software engineering, 1 Mar. 2022, v. 48, no. 3, p. 910-929
Abstract: Graphical User Interface (GUI) testing is widely used to test mobile apps. As mobile apps are frequently updated and need repeated testing, to reduce the test cost, their test cases are often coded as scripts to enable automated execution using test harnesses/tools. When those mobile apps evolve, many of the test scripts, however, may become broken due to changes made to the app GUIs. While it is desirable that the broken scripts get repaired, doing it manually can be preventively expensive if the number of tests need repairing is large. We propose in this paper a novel approach named Meter to repairing broken GUI test scripts automatically when mobile apps evolve. Meter leverages computer vision techniques to infer GUI changes between two versions of a mobile app and uses the inferred changes to guide the repair of GUI test scripts. Since Meter only relies on screenshots to repair GUI tests, it is applicable to apps targeting open or closed source mobile platforms. In experiments conducted on 22 Android apps and 6 iOS apps, repairs produced by Meter helped preserve 63.7 and 38.8 percent of all the test actions broken by the GUI changes, respectively.
Keywords: Computer vision
Mobile GUI testing
Test script repair
Publisher: Institute of Electrical and Electronics Engineers
Journal: IEEE transactions on software engineering 
ISSN: 0098-5589
EISSN: 1939-3520
DOI: 10.1109/TSE.2020.3007664
Rights: © 2020 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.
The following publication Pan, M., Xu, T., Pei, Y., Li, Z., Zhang, T., & Li, X. (2022). GUI-guided test script repair for mobile apps. IEEE Transactions on Software Engineering, 48(3), 910-929 is available at https://doi.org/10.1109/TSE.2020.3007664
Appears in Collections:Journal/Magazine Article

Files in This Item:
File Description SizeFormat 
Pan_GUI-guided_Test_Script.pdfPre-Published version1.77 MBAdobe PDFView/Open
Open Access Information
Status open access
File Version Final Accepted Manuscript
Access
View full-text via PolyU eLinks SFX Query
Show full item record

Page views

60
Last Week
0
Last month
Citations as of May 5, 2024

Downloads

486
Citations as of May 5, 2024

SCOPUSTM   
Citations

12
Citations as of May 3, 2024

WEB OF SCIENCETM
Citations

12
Citations as of May 2, 2024

Google ScholarTM

Check

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.