Using a pilot study to derive a GUI model for automated testing
Title | Using a pilot study to derive a GUI model for automated testing |
Publication Type | Journal Articles |
Year of Publication | 2008 |
Authors | Xie Q, Memon AM |
Journal | ACM Transactions on Software Engineering and Methodology (TOSEM) |
Volume | 18 |
Issue | 2 |
Pagination | 7:1–7:35 - 7:1–7:35 |
Date Published | 2008/11// |
ISBN Number | 1049-331X |
Keywords | Graphical user interfaces, model-based testing, test minimization, Test suite management |
Abstract | Graphical user interfaces (GUIs) are one of the most commonly used parts of today's software. Despite their ubiquity, testing GUIs for functional correctness remains an understudied area. A typical GUI gives many degrees of freedom to an end-user, leading to an enormous input event interaction space that needs to be tested. GUI test designers generate and execute test cases (modeled as sequences of user events) to traverse its parts; targeting a subspace in order to maximize fault detection is a nontrivial task. In this vein, in previous work, we used informal GUI code examination and personal intuition to develop an event-interaction graph (EIG). In this article we empirically derive the EIG model via a pilot study, and the resulting EIG validates our intuition used in previous work; the empirical derivation process also allows for model evolution as our understanding of GUI faults improves. Results of the pilot study show that events interact in complex ways; a GUI's response to an event may vary depending on the context established by preceding events and their execution order. The EIG model helps testers to understand the nature of interactions between GUI events when executed in test cases and why certain events detect faults, so that they can better traverse the event space. New test adequacy criteria are defined for the EIG; new algorithms use these criteria and EIG to systematically generate test cases that are shown to be effective on four fielded open-source applications. |
URL | http://doi.acm.org/10.1145/1416563.1416567 |
DOI | 10.1145/1416563.1416567 |