Using a pilot study to derive a GUI model for automated testing

TitleUsing a pilot study to derive a GUI model for automated testing
Publication TypeJournal Articles
Year of Publication2008
AuthorsXie Q, Memon AM
JournalACM Transactions on Software Engineering and Methodology (TOSEM)
Volume18
Issue2
Pagination7:1–7:35 - 7:1–7:35
Date Published2008/11//
ISBN Number1049-331X
KeywordsGraphical 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.

URLhttp://doi.acm.org/10.1145/1416563.1416567
DOI10.1145/1416563.1416567