Title :
GUI test-case generation with macro-event contracts
Author :
Chen, Woei-Kae ; Shen, Zheng-Wen
Author_Institution :
Dept. of Comput. Sci. & Inf. Eng., Nat. Taipei Univ. of Technol., Taipei, Taiwan
Abstract :
To perform a comprehensive GUI testing, a large number of test cases are needed. This paper proposes a GUI test-case generation approach that is suitable for system testing. The key idea is to extend high-level GUI scenarios with contracts and use the contracts to infer the ordering dependencies of the scenarios. From the ordering dependencies, a state machine of the system is constructed and used to generate test cases automatically. A case study is conducted to investigate the quality of the test cases generated by the proposed approach. The results showed that, in comparison to creating test cases manually, the proposed approach can detect more faults with less human effort.
Keywords :
Automatic testing; Computer science; Contracts; Fault detection; Graphical user interfaces; Humans; Law; Legal factors; Performance evaluation; System testing; GUI testing; contract-based testing; event contract; system testing; test-case generation;
Conference_Titel :
Software Engineering and Data Mining (SEDM), 2010 2nd International Conference on
Conference_Location :
Chengdu, China
Print_ISBN :
978-1-4244-7324-3
Electronic_ISBN :
978-89-88678-22-0