GUI Interaction Testing: Incorporating Event Context
- 8 April 2010
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 37 (4) , 559-574
Abstract
Graphical user interfaces (GUIs), due to their event-driven nature, present an enormous and potentially unbounded way for users to interact with software. During testing, it is important to “adequately cover” this interaction space. In this paper, we develop a new family of coverage criteria for GUI testing grounded in combinatorial interaction testing. The key motivation of using combinatorial techniques is that they enable us to incorporate “context” into the criteria in terms of event combinations, sequence length, and by including all possible positions for each event. Our new criteria range in both efficiency (measured by the size of the test suite) and effectiveness (the ability of the test suites to detect faults). In a case study on eight applications, we automatically generate test cases and systematically explore the impact of context, as captured by our new criteria. Our study shows that by increasing the event combinations tested and by controlling the relative positions of events defined by the new criteria, we can detect a large number of faults that were undetectable by earlier techniques.Keywords
This publication has 38 references indexed in Scilit:
- An Initial Characterization of Industrial Graphical User Interface Systems2009
- Configuration-aware regression testing2008
- Covering array sampling of input event sequences for automated gui testing2007
- Coverage and adequacy in software product line testing2006
- Covering arrays for efficient fault characterization in complex configuration spacesIEEE Transactions on Software Engineering, 2006
- Finite state testing and analysis of graphical user interfaces2005
- Generating test data from state‐based specificationsSoftware Testing, Verification and Reliability, 2003
- Coverage criteria for GUI testing2001
- Software unit test coverage and adequacyACM Computing Surveys, 1997
- Regression testing of GUI event interactions1996