Object Repositories in QTP
QTP mechanism is storing the objects in Object Repository(OR) to identify the run time objects in the applications
All actions users do on during recording is automatically added to object repository.
Ex. Dialog(“Login”).WinEdit(“Agent Name:”).Set “Admin”
In … Read More.
QTP uses three different types of properties when identifying a object based on pre defined object identifications.
Mandatory Properties – Primary properties defined for the specified object, always check these properties exist else it goes to Assistive Properties
Assistive Properties… Read More.
Database checkpoints in QTP can be used in the test to check databases accessed by the web site or application and to detect defects. A query can be defined on the database to create a database checkpoint that will check … Read More.
By settings a breakpoint, QTP can stop a run session at a pre determined place in a test or component, A breakpoint is indicated by a red hand icon in the left margin of the keyword view, or a red … Read More.
What are Checkpoints in QTP?
Checkpoints in QTP are a verification point that compares a current value for a specified property with expected value for that property, it’s also used to identify whether the web site or application under test … Read More.
Two types of arrays in QTP, they are
Static and dynamic array
Static arrays cannot be resized during run time
Dynamic arrays can be resized during run time
Static Array with an example
myarray… Read More.
What are actions in QTP?
Actions divide the test in to logical sections, while creating a new test, it contains only one action, by dividing the tests into multiple actions, more modular and efficient tests can be designed, in general, … Read More.
QTP (Quick Test Professional) is Mercury’s advanced keyword-driven testing solution, QTP is a graphical user interface testing tool created by the HP subsidiary mercury interactive for functional test and regression test automation, Quick Test Professional is designed the needs of … Read More.