DocumentCode :
2948200
Title :
Automated testing of java menu-based GUIs using XML visual editor
Author :
Abdel Salam, Mohamed A. ; Keshk, Arabi E. ; Ismail, Nabil A. ; Nassar, Hamed M.
Author_Institution :
Suez Canal Univ., Ismailia
fYear :
2007
fDate :
27-29 Nov. 2007
Firstpage :
313
Lastpage :
318
Abstract :
A common method for GUI testing is the capture and replay (CR) technique. While the commonly used of CR 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 menu-based Java GUI 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 is ease of use and its standard format. Along with our visual test scripts editor have made writing a test script using our proposed method is easy task. Beside the ability to test AUT before being completely developed, we have implemented another visual module that can generate the test specification file for an already existing AUT by using only the executable file of the program (.class). The engine generates GUI events and captures its responses automatically to verify the results of the test cases, which are written to a test log file. This engine supports the menu-based GUIs that became very popular these days in programs interfaces.
Keywords :
Java; XML; formal specification; graphical user interfaces; program testing; visual programming; GUI events; GUI response; GUI testing; GUI-event test specification language; Java menu-based GUI; XML visual editor; application under test; automated test engine; programs interface; scripting language; specification-driven approach; visual test script editor; Application software; Automatic testing; Chromium; Computer science; Engines; Graphical user interfaces; Irrigation; Java; Specification languages; XML; GUI testing; Graphical user interfaces; XML; testing tools;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Engineering & Systems, 2007. ICCES '07. International Conference on
Conference_Location :
Cairo
Print_ISBN :
978-1-4244-1365-2
Electronic_ISBN :
978-1-1244-1366-9
Type :
conf
DOI :
10.1109/ICCES.2007.4447065
Filename :
4447065
Link To Document :
بازگشت