TY - GEN
T1 - Change-based test script maintenance for android apps
AU - Chang, Nana
AU - Wang, Linzhang
AU - Pei, Yu
AU - Mondal, Subrota K.
AU - Li, Xuandong
PY - 2018/8/2
Y1 - 2018/8/2
N2 - In regression GUI testing for Android apps, test scripts often fail due to changes to, rather than faults in, those apps. To avoid such false positives while still retaining the value of the old test scripts as much as possible, programmers need an automatic way to maintain the tests after the corresponding GUI has evolved. In this paper, we propose the CHATEM approach to automate GUI test script maintenance for Android apps. Taking as input the models for the GUIs of the base and updated version app and the original test scripts, CHATEM automatically extracts the changes between the two GUIs and generates maintenance actions for each change, which are then combined to form the maintenance actions for affected test scripts. In an experimental evaluation on 16 Android apps, CHATEM was able to automatically maintain the test scripts so that overall more than 95% of the remaining behaviors tested before are still tested, and almost 80% of the reusable test actions are retained in the result tests.
AB - In regression GUI testing for Android apps, test scripts often fail due to changes to, rather than faults in, those apps. To avoid such false positives while still retaining the value of the old test scripts as much as possible, programmers need an automatic way to maintain the tests after the corresponding GUI has evolved. In this paper, we propose the CHATEM approach to automate GUI test script maintenance for Android apps. Taking as input the models for the GUIs of the base and updated version app and the original test scripts, CHATEM automatically extracts the changes between the two GUIs and generates maintenance actions for each change, which are then combined to form the maintenance actions for affected test scripts. In an experimental evaluation on 16 Android apps, CHATEM was able to automatically maintain the test scripts so that overall more than 95% of the remaining behaviors tested before are still tested, and almost 80% of the reusable test actions are retained in the result tests.
KW - Automated test maintenance
KW - GUI testing
KW - Regression testing
UR - http://www.scopus.com/inward/record.url?scp=85052287234&partnerID=8YFLogxK
U2 - 10.1109/QRS.2018.00035
DO - 10.1109/QRS.2018.00035
M3 - Conference article published in proceeding or book
AN - SCOPUS:85052287234
SN - 9781538677575
T3 - Proceedings - 2018 IEEE 18th International Conference on Software Quality, Reliability, and Security, QRS 2018
SP - 215
EP - 225
BT - Proceedings - 2018 IEEE 18th International Conference on Software Quality, Reliability, and Security, QRS 2018
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 18th IEEE International Conference on Software Quality, Reliability, and Security, QRS 2018
Y2 - 16 July 2018 through 20 July 2018
ER -