QTP – Object Repository

Object Repository

Object Repository is a collection of object and properties with which QTP will be able to recognize the objects and act on it. When a user records a test, the objects and its properties are captured by default. Without understanding objects and its properties, QTP will NOT be able to play back the scripts.

Click on each one of the following topics to know more about Object Repository and its associated features.

Sr.No. Topic & Description
1 Object Spy and its Features

To understand the usage of object spy and its associated functionalities.

2 Working with Object Repository

Adding, editing, deleting objects from an Object Repository and its associated functionalities.

3 Types of Object Repository

Deals with shared Object and local Object Repository and their context with respect to scripting.

4 User-defined Objects

Deals with the circumstances to use the User-Defined Objects.

5 Object Repository in XML

Deals with converting OR’s to XML and using the object Repository as XML.

6 Comparing and Merging OR

Operations such as Compare OR’, Merge OR’s to effectively work with Object Repository.

7 Ordinal Identifiers

Circumstances where the ordinal identifiers are used and its advantages.

8 Child Objects

Using Child Objects for effective scripting

 

QTP/UFT Online Training In Hyderabad

For any automated tool implementation, the following are the phases/stages of it. Each one of the stages corresponds to a particular activity and each phase has a definite outcome.

  • Test Automation Feasibility Analysis − First step is to check if the application can be automated or not. Not all applications can be automated due to its limitations.
  • Appropriate Tool Selection − The next most important step is the selection of tools. It depends on the technology in which the application is built, its features and usage.
  • Evaluate the suitable framework − Upon selecting the tool, the next activity is to select a suitable framework. There are various kinds of frameworks and each framework has its own significance. We will deal with frameworks in detail later in this tutorial.
  • Build Proof of Concept − Proof of Concept (POC) is developed with an end-to-end scenario to evaluate if the tool can support the automation of the application. It is performed with an end-to-end scenario, which ensures that the major functionalities can be automated.
  • Develop Automation Framework − After building the POC, framework development is carried out, which is a crucial step for the success of any test automation project. Framework should be built after diligent analysis of the technology used by the application and also its key features.
  • Develop Test Script, Execute, and Analyze − Once Script development is completed, the scripts are executed, results are analyzed and defects are logged, if any. The Test Scripts are usually version controlled.