Using a Pilot Study to Derive a GUI Model for Automated Testing

Download: PDF.

“Using a Pilot Study to Derive a GUI Model for Automated Testing ” by Qing Xie and Atif M. Memon. ACM Trans. on Softw. Eng. and Method., 2008, ACM Press.


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 under-studied 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 sub-space in order to maximize fault detection is a non-trivial 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 paper 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.

Download: PDF.

BibTeX entry:

   author = {Qing Xie and Atif M. Memon},
   title = {Using a Pilot Study to Derive a {GUI} Model for Automated
	Testing },
   journal = {ACM Trans. on Softw. Eng. and Method.},
   publisher = {ACM Press},
   year = {2008}

Back to Atif Memon's Publications.