Automated GUI refactoring and test script repair (position paper)

Brett Daniel, Qingzhou Luo, Mehdi Mirzaaghaei, Danny Dig, Darko Marinov, Mauro Pezzè

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

To improve the overall user experience, graphical user interfaces (GUIs) of successful software systems evolve continuously. While the evolution is beneficial for end users, it creates several problems for developers and testers. Developers need to manually change the GUI code. Testers need to manually inspect and repair highly fragile test scripts. This is time-consuming and error-prone. The state-of-the-art tools for automatic GUI test repair use a black-box approach: they try to infer the changes between two GUI versions and then apply these changes to the test scripts. However, inferring these changes is challenging. We propose a white-box approach where the GUI changes are automated and knowledge about them is reused to repair the test cases appropriately. We use GUI refactorings as a means to encode the evolution of the GUIs. We envision a smart IDE that will record these refactorings precisely as they happen and will use them to change the GUI code and to repair test cases. We illustrate our approach through an example, discuss challenges that should be overcome to turn our vision into reality, and present a research agenda to address these challenges.

Original languageEnglish (US)
Title of host publication2011 International Workshop on End-to-End Test Script Engineering, ETSE 2011 - Proceedings
Pages38-41
Number of pages4
DOIs
StatePublished - Sep 2 2011
Event1st International Workshop on End-to-End Test Script Engineering, ETSE 2011, Co-located with the 2011 International Symposium on Software Testing and Analysis - Toronto, ON, Canada
Duration: Jul 17 2011Jul 17 2011

Publication series

Name2011 International Workshop on End-to-End Test Script Engineering, ETSE 2011 - Proceedings

Other

Other1st International Workshop on End-to-End Test Script Engineering, ETSE 2011, Co-located with the 2011 International Symposium on Software Testing and Analysis
CountryCanada
CityToronto, ON
Period7/17/117/17/11

Keywords

  • Automated GUI testing
  • GUI maintenance
  • GUI refactoring
  • Graphical user interfaces

ASJC Scopus subject areas

  • Computer Science Applications
  • Software

Fingerprint Dive into the research topics of 'Automated GUI refactoring and test script repair (position paper)'. Together they form a unique fingerprint.

Cite this