Chapter 23

Object Repository

All text fields, buttons, checkboxes, etc. are referred as objects in UFT. UFT maps the Graphical User Interface (GUI) objects to its standard object class. For example, for a web application, edit field is mapped to WebEdit class, check box is mapped to WebCheckbox class and so on.

UFT stores the definition of the GUI objects in Object Repository (OR). This definition consists of object properties such as name, class, and html id, visual relation identifiers, and ordinal identifiers. UFT uses these properties to uniquely identify the object at run-time in the AUT. Object Repository can also be used to view or modify the object properties of the objects stored in OR.

TYPES OF OBJECT REPOSITORIES

There are two types ...

Get Agile Automation and Unified Funtional Testing now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.