Lessons learned from making the transition to model-based GUI testing

Authors Rudolf Ramler
Claus Klammer
Thomas Wetzlmaier
Editors
Title Lessons learned from making the transition to model-based GUI testing
Booktitle Proceedings of the 10th ACM SIGSOFT International Workshop on Automating TEST Case Design, Selection, and Evaluation - A-TEST 2019
Type in proceedings
Publisher ACM
ISBN 978-1-4503-6850-6
DOI 10.1145/3340433.3342823
Month August
Year 2019
Pages 22-27
SCCH ID# 19050
Abstract

Model-based testing (MBT) has been proposed as an effective and versatile approach for testing graphical user interfaces (GUIs) by automatically generating executable test cases from a model of the GUI. Model-based GUI testing has received increas-ing attention in research, but it is still rarely applied in practice. In this paper, we present our experiences and share the lessons we learned from successfully introducing MBT for GUI testing in three industry projects. We describe the underlying modeling approach, the development of tests models in joint workshops, the implementation of the test model in form of model programs, and the integration of MBT in the test automation architecture. The findings distilled from the three cases are summarized as lessons learned to support the adoption of a model-based ap-proach for GUI testing in practice.