Title: Using ontology to generate test cases for GUI testing

Authors: Han Li; He Guo; Feng Chen; Hongji Yang; Yuansheng Yang

Addresses: School of Computer Science and Technology, Dalian University of Technology, 116023 Dalian, China. ' School of Software, Dalian University of Technology, Development Area, 116620 Dalian, China. ' Faculty of Technology (FoT), De Montfort University, Leicester, LE1 9BH, UK. ' Faculty of Technology (FoT), De Montfort University, Leicester, LE1 9BH, UK ' School of Computer Science and Technology, Dalian University of Technology, 116023 Dalian, China

Abstract: Graphical User Interface (GUI) testing is a knowledge-intensive process. In this paper, ontology is introduced to generate user-centric GUI test cases. First, GUI and non-GUI components are captured by reverse engineering techniques. Next, relations among GUI components are analysed and a GUI ontology is constructed by representing all analysed results. Then, test case generation rules are defined and used to simplify test cases. After that, a case study is demonstrated on a general communication application, which shows that the proposed approach is technically feasible and ontology can facilitate GUI testing by utilising knowledge of GUI systems and experience of testers.

Keywords: ontology; GUI testing; test cases; component relations; graphical user interface; reverse engineering.

DOI: 10.1504/IJCAT.2011.045407

International Journal of Computer Applications in Technology, 2011 Vol.42 No.2/3, pp.213 - 224

Published online: 11 Feb 2012 *

Full-text access for editors Full-text access for subscribers Purchase this article Comment on this article