QTP Basics

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

c 


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.

½      


mart Object Identification/recognition and GetROProperty and etROProperty.

c          

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

½         


There are three kinds of actions: p
p
non-reusable action³an action that can be called only in the test with which it is stored, and can be called only
once. p
reusable action³an action that can be called multiple times by the test with which it is stored (the local test) as
well as by other tests. p
external action³a reusable action stored with another test. External actions are read-only in the calling test, but
you can choose to use a local, editable copy of the Data Table information for the external action.p

You might also like