Title :
An event interaction structure for GUI test case generation
Author :
Qian, Siyou ; Jiang, Fan
Author_Institution :
Sch. of Comput. Sci. & Technol., Univ. of Sci. & Technol. of China, Hefei, China
Abstract :
Graphical user interface (GUI) has become an important part of current software. But it is difficult for conventional test methods to test GUI due to the large number of states and the complexity among the events interaction. This paper presents an event interaction structure to model GUI and an algorithm to generate GUI interactive test cases. In this structure, the interaction relationships among events focus on the sharing variables or data or exchange messages of the event-handlers. Then the GUI interactive test cases are generated by analyzing the reading or writing operations of events or sending and receiving messages between events. Experiment shows that, under the condition of assuring event-based coverage rate, the number of effective GUI interactive test cases generated by our method is about 10 percent of the number of test cases generated by permutation and combination method.
Keywords :
automatic test pattern generation; graphical user interfaces; interactive systems; program testing; GUI interactive test case; GUI test case generation; event interaction structure; event-handler; graphical user interface; Automata; Computer science; Electronic mail; Graphical user interfaces; Software systems; Software testing; State-space methods; System testing; User interfaces; Writing; GUI software test; interactive test case; test case generation;
Conference_Titel :
Computer Science and Information Technology, 2009. ICCSIT 2009. 2nd IEEE International Conference on
Conference_Location :
Beijing
Print_ISBN :
978-1-4244-4519-6
Electronic_ISBN :
978-1-4244-4520-2
DOI :
10.1109/ICCSIT.2009.5234773