DocumentCode :
2089353
Title :
GUICOP: Specification-Based GUI Testing
Author :
Zaraket, Fadi ; Masri, Wes ; Adam, Marc ; Hammoud, Dalal ; Hamzeh, Raghd ; Farhat, Raja ; Khamissi, Elie ; Noujaim, Joseph
Author_Institution :
Dept. of Electr. & Comput. Eng., American Univ. of Beirut, Beirut, Lebanon
fYear :
2012
fDate :
17-21 April 2012
Firstpage :
747
Lastpage :
751
Abstract :
Typically, oracles used to test graphical user interface(GUI) programs highly depend on environmental factors that are not related to the functionality of the program, such as screen resolution and color schemes. To accommodate these on-functional variations, researchers suggested fuzzy comparison rules that determine whether the output of a GUI program matches the oracles. Others suggested computer vision based solutions that make use of computationally expensive image processing techniques to abstract the strict comparisons. Alternatively, we propose GUICOP, a system that checks whether a trace of a GUI execution violates a given GUI specification. GUICOP is composed of a GUI specification language, instrumented GUI libraries, and a checker. The alphabet of the specification language contains basic geometric shapes describing GUI components, events, and positional and temporal operators that express relative object positions and event timings, respectively. During program execution, the instrumented libraries capture positional and temporal information of components and associated triggered events in execution traces. The checker determines whether the traces satisfy the specifications. To evaluate GUICOP, we wrote 50 use cases that describe real GUI applications and used the GUICOP checker on the supported cases that successfully revealed violations.
Keywords :
computational geometry; computer vision; formal specification; fuzzy set theory; graphical user interfaces; program testing; software libraries; specification languages; GUI execution; GUI libraries; GUI specification language; GUICOP; GUICOP checker; basic geometric shapes; computer vision based solutions; execution traces; fuzzy comparison rules; graphical user interface program testing; image processing techniques; instrumented libraries; onfunctional variations; oracles; program execution; specification-based GUI testing; Calculators; Graphical user interfaces; Instruments; Layout; Shape; Testing; Timing; GUI testing; Specification-based testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2012 IEEE Fifth International Conference on
Conference_Location :
Montreal, QC
Print_ISBN :
978-1-4577-1906-6
Type :
conf
DOI :
10.1109/ICST.2012.168
Filename :
6200180
Link To Document :
بازگشت