QTP
Test Automation Frameworks - Stuff you must Know!
In this tutorial, you will learn What is a Framework? What is a TEST Automation Framework? Types...
QTP also uses a "human" like technology for object identification. During Record, Time QTP tries to learn the properties of a GUI object on which operation is performed. During Run-Time, Micro Focus UFT compares the stored object properties with actual properties of the object available on screen and uniquely identifies an object independent of its location on a screen
The stored object and together with its properties is called TEST Object
During Run-Time, the actual object available on the application under test is called Run-Time Object
This is HP UFT's "Test Object Model"
Information about the Test Objects is stored in Object Repository
Add-ins help in instructing Quick Test in advance of the nature of the object to be recorded so it as to reduce the time required to learn its properties
Following video tutorial demonstrates how QTP identifies a GUI Object (on-screen)
QTP stores Object and its properties in the Object Repository to identify them during run-time. An Object could have a large number of properties associated with it. For example, in Web Environment, a Button could have the following properties associated.
If QTP will try and remember all the available properties for an object, size of Object Repository will bloat and script execution time will increase drastically. To avoid this, QTP by default does not store all the properties of an object but a limited no of typical properties for an object which helps in its unique identification. This choice of properties(to be saved during record time) for various environments and objects is stored in Object Identification
An object property and its value are called Object Description. The Object Description is used to uniquely identify the corresponding Object. For example, for a WebButton property "name" and its value "Login" together can be termed as Object Description for that Web Button.
To access, In QTP in Tools Menu, select Object Identification. In Object Recognition Dialog Box you can see a drop down of all the environments installed and loaded.
You can select an environment and QTP auto-populates list of all the supported objects belonging to that environment. On the right QTP lists the properties that will be stored for the object. The list is divided into
To understand this better consider the example of a Web Image.
In this tutorial, you will learn What is a Framework? What is a TEST Automation Framework? Types...
Before you start recording your QTP script, you need to identify the TEST STEPS that need to be...
HP UFT (QTP) supports 3 types of recording modes Context Sensitive Analog Low Level Context...
What is Descriptive Programming? Descriptive programming is used to execute operations on an...
Project Summary This Live Project will put you in an Online Corporate Test Environment. You will...
This tutorial demonstrates OBJECT SPY. Object Spy can help determine the useful properties and...