Browse Prior Art Database

A object mapping and testing framework for graphic user interface

IP.com Disclosure Number: IPCOM000210482D
Publication Date: 2011-Sep-06
Document File: 6 page(s) / 58K

Publishing Venue

The IP.com Prior Art Database

Abstract

Disclosed is a method to describe a group of similar components and to provide a framework for testing graphic user interfaces (GUI) on top of an existing GUI automation testing tool. The testing framework gives the users a clear and consistent view of the underlining test cases. The framework also gives users the ability to extend the functionality of the GUI automation testing tools.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 24% of the total text.

Page 01 of 6

A object mapping and testing framework for graphic user interface

The purpose of this invention is to provide a method to describe a group of similar components and to provide a framework for testing graphic user interfaces (GUI) on top of an existing GUI automation testing tool. The testing framework gives the users a clear and consistent view of the underlining test cases. The framework also gives users the ability to extend the functionality of the GUI automation testing tools.

The method of describing a group of similar components utilizes capturing groups of regular expressions. It gives users the ability to define them as a generic object reference while maintains the ability to refer any individual component in the group by replacing the capturing groups with replacement strings. Furthermore, it allows GUI automation testing tools or frameworks to work with indeterminate results.

The proposed framework is built on top of a GUI automation testing tool. The framework separates customized testing scripts in programming language into test cases which describe the test scenarios in simple formatted scripts and external task programs that mainly focus on performing different types of actions and verifications. By using this framework, QA analysts can extend the functionality of the automation testing tool while maintaining readability and quality of the testing scripts.

A Method of Describing Attributes for Object Map with Capturing Groups:

The graphic user interface (GUI) of an application consists of GUI components. One of the most important functions of GUI automation testing tools is to recognize the GUI components. Due to the flexibility of GUI applications, the absolute or relative location of the GUI components is not necessarily fixed. On the other hand, many GUI components contain attributes that can be used to recognize them. For example, many HTML elements contains an "id" attribute whose value is unique in the hypertext markup language (HTML) document. This is a property for GUI automation testing tools to identify an HTML element. In addition, two GUI components may form parent and child relationship. For example, in a HTML document, a TBODY element is a child element of a TABLE element. The relationship can also be used for recognition.

Most GUI automation testing tools use attributes of GUI components to recognize them. The attributes of each GUI component are associated with a unique object reference name which can be referred by the testing scripts. For example, IBM Rational Functional Tester (RFT) stores the attributes and the relationships of the GUI components in test object map files. Another system stores these attributes and relationships in a GUI map file.

When a large table or list is shown on the screen, many similar GUI components would be displayed. Especially when the results in the table or list are in an indeterminate order, it is inappropriate to keep a large number of object references where they...