Issue No.04 - July/August (2011 vol.37)
Xun Yuan , Google Kirkland
Myra B. Cohen , University of Nebraska-Lincoln, Lincoln
Atif M. Memon , University of Maryland, College Park
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TSE.2010.50
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.
GUI testing, automated testing, model-based testing, combinatorial interaction testing, GUITAR testing system.
Xun Yuan, Myra B. Cohen, Atif M. Memon, "GUI Interaction Testing: Incorporating Event Context", IEEE Transactions on Software Engineering, vol.37, no. 4, pp. 559-574, July/August 2011, doi:10.1109/TSE.2010.50