GUI-guided repair of mobile test scripts

Minxue Pan, Tongtong Xu, Yu Pei, Zhong Li, Tian Zhang, Xuandong Li

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

8 Citations (Scopus)

Abstract

Graphical User Interface (GUI) testing has been the focus of mobile app testing. Manual test cases, containing valuable human knowledge about the apps under test, are often coded as scripts to enable automated and repeated execution for test cost reduction. Unfortunately, many test scripts may become broken due to changes made during app updates. Broken test scripts are expected to be updated for reuse; however, the maintenance cost can be high if large numbers of test scripts require manual repair. We propose an approach named METER to repairing broken test scripts automatically when mobile apps are updated. METER novelly leverages computer vision techniques to infer GUI changes between two versions from screenshots and uses the GUI changes to guide the repair of test scripts. In experiments conducted on 18 Android apps, METER was able to repair 78.3% broken test scripts.

Original languageEnglish
Title of host publicationProceedings - 2019 IEEE/ACM 41st International Conference on Software Engineering
Subtitle of host publicationCompanion, ICSE-Companion 2019
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages326-327
Number of pages2
ISBN (Electronic)9781728117645
DOIs
Publication statusPublished - May 2019
Event41st IEEE/ACM International Conference on Software Engineering: Companion, ICSE-Companion 2019 - Montreal, Canada
Duration: 25 May 201931 May 2019

Publication series

NameProceedings - 2019 IEEE/ACM 41st International Conference on Software Engineering: Companion, ICSE-Companion 2019

Conference

Conference41st IEEE/ACM International Conference on Software Engineering: Companion, ICSE-Companion 2019
Country/TerritoryCanada
CityMontreal
Period25/05/1931/05/19

Keywords

  • Computer vision
  • GUI testing
  • Mobile apps
  • OCR
  • Test script repair

ASJC Scopus subject areas

  • Organizational Behavior and Human Resource Management
  • Software
  • Safety, Risk, Reliability and Quality
  • Education

Fingerprint

Dive into the research topics of 'GUI-guided repair of mobile test scripts'. Together they form a unique fingerprint.

Cite this