DocumentCode
3642344
Title
Behind the Scenes: An Approach to Incorporate Context in GUI Test Case Generation
Author
Stephan Arlt;Cristiano Bertolini;Martin Schäf
Author_Institution
Univ. of Freiburg, Freiburg, Germany
fYear
2011
fDate
3/1/2011 12:00:00 AM
Firstpage
222
Lastpage
231
Abstract
Graphical user interfaces (GUIs) are a common way to interact with software. To ensure the quality of such software it is important to test the possible interactions with its user interface. GUI testing is a challenging task as they can allow, in general, infinitely many different sequences of interactions with the software. As it is only possible to test a limited amount of possible user interactions, it is crucial for the quality of GUI testing to identify relevant sequences and avoid improper ones. In this paper we propose a model for better GUI testing. Our model is created based on two observations. It is a common case that different user interactions result in the execution of the same code fragments. That is, it is sufficient to test only interactions that execute different code fragments. Our second observation is that user interactions are context-sensitive. That is, the control flow that is taken in a program fragment handling a user interaction depends on the order of some preceding user interactions. We show that these observations are relevant in practice. We present a preliminary implementation that utilizes these observations for test case generation.
Keywords
"Graphical user interfaces","Testing","Context","Java","Automation","Context modeling"
Publisher
ieee
Conference_Titel
Software Testing, Verification and Validation Workshops (ICSTW), 2011 IEEE Fourth International Conference on
Print_ISBN
978-1-4577-0019-4
Type
conf
DOI
10.1109/ICSTW.2011.70
Filename
5954413
Link To Document