what is meant by descriptive programming?

Answer Posted / siva

In DP, we’re "manually" specifying the properties and values by which the relevant object will be identified. This way QTP won’t search for the properties data in the OR, but will take it from the DP statement. This can be done in a fast, ad-hoc way, in the very line of the command we want to execute

The syntax is: Class(PROPERTIESSTRINGS).Command, where PROPERTIESSTRINGS specifies the properties and values for the object’s identification.
For example:
VBWindow("property1:=value1″, "property2:=value2″).Click

VBWindow" class is just an example for DP with VB objects

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is vmodel?advantages and disadvantages of vmodel?

1607


what the difference between shared repository and per action repository?

544


Step 3&4 are repeated until an the object in recognised uniquely.

1514


What is the use of text output value in quicktest professional?

497


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

1779






How many types of parameters are available in quicktest professional?

514


How to capture all the data of a webtable, weblist and combolist using QTP?

2845


How to add verification steps to tests?

9111


hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?

1577


Hi, How Accessibility checkpoint in QTP can be implemented in the test script?

1599


Explain the types of object repositorys in qtp?

562


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1268


Hello friends..... On which areas of an application we can not test with QTP

1549


Explain object spy in qtp.

579


What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?

560