Behind the Scenes: An Approach to Incorporate Context in GUI Test Case Generation
| Title | Behind the Scenes: An Approach to Incorporate Context in GUI Test Case Generation |
| Publication Type | Technical Report |
| Authors | S. Arlt, C. Bertolini, and M. Schäf |
| Call Number | 452 |
| Publisher | UNU-IIST |
| Year of Publication | 2011 |
| Date Published | 07/2011 |
| 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 contextsensitive. 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. |
| Attachment | Size |
|---|---|
| report452.pdf | 398.53 KB |




