Software Testing Verification and Validation Workshop, IEEE International Conference on (2011)
Mar. 21, 2011 to Mar. 25, 2011
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/ICSTW.2011.70
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.
GUI testing, grey-box testing, automated testing, model-based testing
C. Bertolini, S. Arlt and M. Schäf, "Behind the Scenes: An Approach to Incorporate Context in GUI Test Case Generation," Software Testing Verification and Validation Workshop, IEEE International Conference on(ICSTW), Berlin, Germany, 2011, pp. 222-231.