GUICop: Approach and toolset for specification-based GUI testing

Loading...
Thumbnail Image

Date

Journal Title

Journal ISSN

Volume Title

Publisher

John Wiley and Sons Ltd

Abstract

Oracles used for testing graphical user interface (GUI) programmes are required to take into consideration complicating factors such as variations in screen resolution or colour scheme when comparing observed GUI elements with expected GUI elements. Researchers proposed fuzzy comparison rules and computationally expensive image processing techniques to tame the comparison process because otherwise the naïve matching comparison would be too constraining and consequently impractical. Alternatively, this paper proposes GUICop, a novel approach with a supporting toolset that takes (1) a GUI programme and (2) user-defined GUI specifications characterizing the rendering behaviour of the GUI elements and checks whether the execution traces of the programme satisfy the specifications. GUICop comprises the following: (1) a GUI Specification Language; (2) a Driver; (3) Instrumented GUI Libraries; 4) a Solver; and (5) a Code Weaver. The user defines the specifications of the subject GUI programme using the GUI Specification Language. The Driver traverses the GUI structure of the programme and generates events that drive its execution. The Instrumented GUI Libraries capture the GUI execution trace, ie, information about the positions and visibility of the GUI elements. And the Solver, enabled by code injected by the Code Weaver, checks whether the traces satisfy the specifications. GUICop was successfully evaluated using 4 open source GUI applications that included 8 defects, namely, Jajuk, Gason, JEdit, and TerpPaint. Copyright © 2017 John Wiley & Sons, Ltd.

Description

Keywords

Gui testing, Software testing, Specification-based testing, Test oracles, Codes (symbols), Image processing, Libraries, Open source software, Specification languages, Specifications, Trace elements, User interfaces, Comparison rules, Graphical user interfaces (gui), Gui applications, Image processing technique, Screen resolution, Specification based testing, Graphical user interfaces

Citation

Endorsement

Review

Supplemented By

Referenced By