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.

Daniel, B., Luo, Q., Mirzaaghaei, M., Dig, D., Marinov, D., Pezze', M. (2011). Automated GUI refactoring and test script repair. In ETSE\textquoteright11:Proceedings of the 1st International Workshop on End-to-End Test Script Engineering (pp.38-41). ACM [10.1145/2002931.2002937].

Automated GUI refactoring and test script repair

PEZZE', MAURO
2011

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.
paper
GUI refactoring, script repair
English
First International Workshop on End-to-End Test Script Engineering
2011
ETSE\textquoteright11:Proceedings of the 1st International Workshop on End-to-End Test Script Engineering
978-1-4503-0808-3
2011
38
41
none
Daniel, B., Luo, Q., Mirzaaghaei, M., Dig, D., Marinov, D., Pezze', M. (2011). Automated GUI refactoring and test script repair. In ETSE\textquoteright11:Proceedings of the 1st International Workshop on End-to-End Test Script Engineering (pp.38-41). ACM [10.1145/2002931.2002937].
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/43980
Citazioni
  • Scopus 31
  • ???jsp.display-item.citation.isi??? ND
Social impact