0% found this document useful (0 votes)
58 views6 pages

Types of Object Repository

UFT supports testing various applications through add-ins that enable support for specific technologies. It supports standard Windows, web, and ActiveX applications by default. When starting UFT, users can select the required add-ins from the add-in manager. Object recognition in UFT involves identifying objects using mandatory and optional properties, which can be configured. Global and local object repositories allow storing and reusing objects across tests. The session will cover object repositories, recording modes, checkpoints, transactions, exception handling and results analysis.

Uploaded by

Chetna Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views6 pages

Types of Object Repository

UFT supports testing various applications through add-ins that enable support for specific technologies. It supports standard Windows, web, and ActiveX applications by default. When starting UFT, users can select the required add-ins from the add-in manager. Object recognition in UFT involves identifying objects using mandatory and optional properties, which can be configured. Global and local object repositories allow storing and reusing objects across tests. The session will cover object repositories, recording modes, checkpoints, transactions, exception handling and results analysis.

Uploaded by

Chetna Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Introduction to uft

 UFT supports various applications. But it won’t support all the applications by default. We
need to load the corresponding add-in. For example, if you are going to use QTP for a java
application you need to load java add-in.

 This add-in concept will help UFT to support wide-range of applications without
compromising the performance. And, it will improve object identification reliability.

 Default Support

1. Standard Windows applications (invisible in the add-in manager)

2. Web objects / Applications

3. ActiveX controls

4. Visual Basic applications

You can select the required Add-ins while starting the UFT.

Add-in manager screen will appear when opening UFT. In the screen you can select the required
add-ins using the check-box.

If you don’t want to see this add-in Manager again, you can uncheck the “Show on Startup”
checkbox.

Session objectives

 Object Repository Type and Object Recognition

Object Identification

Recording Modes – Context sensitive, Low-level and Analog Recording

 Checkpoints

 Transactions and Step Generators

Transactions

Step Generator & Function Generator

 Exception Handling and Recovery Scenarios

 Analysis of Test Results

 Integration with ALM

 Summary

 References

Object Repository and object Recognition

Types of Object Repository


 Local object repository

 Global object repository

Local object repository

 Default repository

 Specific to actions (Will be used only for a particular action)

 Cannot be reused

Here Action1 and Action 2 of same test will have different object repositories.

Global Object Repository

Same object repository for related functionalities across different actions or scripts.

We can also specify additional properties for objects other than mandatory ones that appear when
the objects are captured.

Reusability of objects

Changes in object properties can be updated directly in the shared object repository model

Implementing Global Object Repository:

The object repository can be managed using a folder containing all the object repositories which
have been used throughout the project.

Files under this which contain object repositories (which are stored as .tsr files) are stored module
wise.

Object Repository Type and Object Recognition (Contd…)

Global Object Repository

 Can be updated by all actions accessing it

 Used in most automation projects


Global object
repository

Test1 Test2 Test3

Action1 Action2 Action3 Action1 Action2 Action3 Action1 Action2 Action3

Object Repository Type and Object Recognition (Contd…)

 Object Repository Manager

This utility helps in editing a repository file (*.tsr). Any object repository file can be opened
and simple changes like adding an object, editing or modifying an existing object or deleting and
object can be performed.

 Associate Repositories

Any repository that is loaded should be associated to appropriate action. This utility helps
the users in associating different global repositories to specific actions.

Object Repository Manager


Object Identification

User can specify properties to be used for identification in order to distinguish between two
objects of the same class object.

Configuring Mandatory and Assistive Recording Properties:

Mandatory properties:

UFT has list of mandatory properties, for each type of object, which it always learns.

When we run the script UFT uses all the mandatory properties to identify the object. It uses
assistive properties when mandatory properties are not enough to identify an object.
We can change the mandatory properties or assistive properties based on the application.

We can add /remove few properties in mandatory properties or assistive properties so that UFT
identifies the object when we run the script
How to change properties of objects?

Tools  Object Identification

Object Identification dialog box opens

Choose the Environment you are going to work on. Eg: Web, Windows, Visual Basic

Choose the required object under the environment. Eg: Link, WebButton for Web

Select the properties you want to make mandatory or assistive by selecting the option

You might also like