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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.