Change-based test script maintenance for android apps

Nana Chang, Linzhang Wang, Yu Pei, Subrota K. Mondal, Xuandong Li

Research output: Chapter in book / Conference proceedingConference article published in proceeding or bookAcademic researchpeer-review

11 Citations (Scopus)

Abstract

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.

Original languageEnglish
Title of host publicationProceedings - 2018 IEEE 18th International Conference on Software Quality, Reliability, and Security, QRS 2018
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages215-225
Number of pages11
ISBN (Print)9781538677575
DOIs
Publication statusPublished - 2 Aug 2018
Event18th IEEE International Conference on Software Quality, Reliability, and Security, QRS 2018 - Lisbon, Portugal
Duration: 16 Jul 201820 Jul 2018

Publication series

NameProceedings - 2018 IEEE 18th International Conference on Software Quality, Reliability, and Security, QRS 2018

Conference

Conference18th IEEE International Conference on Software Quality, Reliability, and Security, QRS 2018
Country/TerritoryPortugal
CityLisbon
Period16/07/1820/07/18

Keywords

  • Automated test maintenance
  • GUI testing
  • Regression testing

ASJC Scopus subject areas

  • Software
  • Safety, Risk, Reliability and Quality

Cite this