6. Generating Basic script:
From QTP 9.5 version onwards we can create script using Test
objects by performing Drag & Drop operation.
7. Add/Remove Description properties:
Some times when there is a similar objects are exist in
application then default collected description properties may not sufficient to
identify Runtime object, then we can add some other properties for a Test
object
Navigation:
Ø Select “Test object” in OR
Ø Click on [+] button in Description
properties
Ø Select property name
Ø Click on “OK”
8. Modify Test object Description
properties:
In following scenarios we need to modify Test object
description property values
When application object property values are changed in
modified build then we need to modify/update corresponding test object
description property values in the Object Repository
Navigation:
Ø Select Test object in OR
Ø Click on property value which you
want to modify
Ø Update property value
Or
Select “Update from application” option in “Object” menu at
OR
To
handle dynamic Objects
Dynamic
object means which property values may changes during runtime based on given
input data or selection of option
To handle
dynamic objects we use Regular expression in corresponding Test object
Description property value
Using
RE we specify pattern of text instead of any fixed value, while runtime QTP
compares pattern of text to identify runtime object.