DocumentCode :
3181837
Title :
Specification-driven automated testing of java swing GUIs using XML
Author :
Assem, M. ; Keshk, A. ; Ismail, N. ; Nassar, H.
Author_Institution :
Suez Canal Univ., Ismailia
fYear :
2007
fDate :
16-18 Dec. 2007
Firstpage :
84
Lastpage :
88
Abstract :
A common method for GUI testing is the capture and replay (CR) technique. While commonly used this technique can not be used until an application under test (AUT) is completely developed. In this paper we propose a specification-driven approach to test GUI-Based Java programs as an alternative to the CR technique. We introduce a GUI-event test specification language based on XML from which an automated test engine is generated. The popularity of XML as a scripting language, its ease of use and its standard format have made writing a test script using our proposed specification language an easy task. Beside the ability to test AUT before being completely developed we have implemented a visual editor that can generate the test specification file for an already existing AUT. The engine generates GUI events and captures event responses to automatically verify the results of the test cases which are written to a test log file. This approach supports N-version testing, where each version of the application is intended to satisfy the same specification.
Keywords :
Java; XML; graphical user interfaces; program testing; GUI testing; GUI-based Java programs; GUI-event test specification language; Java Swing GUI; XML; application under test; scripting language; specification-driven automated testing; Automatic testing; Chromium; Engines; Graphical user interfaces; Java; Software libraries; Software testing; Specification languages; System testing; XML; GUI Testing; Graphical User Interfaces; Testing Tools; XML;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Information and Communications Technology, 2007. ICICT 2007. ITI 5th International Conference on
Conference_Location :
Cairo
Print_ISBN :
978-1-4244-1430-7
Type :
conf
DOI :
10.1109/ITICT.2007.4475622
Filename :
4475622
Link To Document :
بازگشت