Title :
GUI Interaction Testing: Incorporating Event Context
Author :
Yuan, Xun ; Cohen, Myra B. ; Memon, Atif M.
Author_Institution :
Dept. of Comput. Sci., Univ. of Maryland, College Park, MD, USA
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 :
automatic test pattern generation; graphical user interfaces; program testing; GUI interaction testing; automatic test case generation; combinatorial interaction testing; event driven nature; graphical user interface; Automatic testing; Computer science; Context modeling; Fault detection; Graphical user interfaces; Logic testing; Software performance; Software testing; System testing; User interfaces; GUI testing; GUITAR testing system.; automated testing; combinatorial interaction testing; model-based testing;
Journal_Title :
Software Engineering, IEEE Transactions on
DOI :
10.1109/TSE.2010.50