Professional Documents
Culture Documents
QTP Basics
QTP Basics
QTP Basics
createobject
Creates and returns a reference to an Automation object p
syntax: CreateObject(servername.typename [, location]) p
Arguments p
servername:Required. The name of the application providing the object. p
typename : Required. The type or class of the object to create. p
location : Optional. The name of the network server where the object is to be created.
QTP recognizes all objects in the Application under test using the set of 2
that it stores for all
Test Objects while recording. If QTP is not able to recognize the objects using the set of mandatory properties it
uses another set of properties called the
. Incase the assistive properties are also not enough
to uniquely identify an object QTP resorts to using the
for the object that are properties like
the index, location and time of creation of the object. If all this fails QTP resorts to the 2
2
2
©
hared and Per Action