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

How many types of recording facility are available in quicktest professional (qtp)?

609


How can you identify the browser and its information using the qtp script?

587


describe some problems that u had with automating testing tool?

1414


Describe how Smart Identification is used

1700


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

3596






Mention the test steps of qtp.

540


What are the different types of functions available in qtp and explain ?

569


What is 'sleep' in sync point?

627


How is the Bitmap checkpoint different from Image checkpoint?

625


Can we create a qtp test from qc?

588


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

869


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

582


What is system testing and what are the different types of tests you perform in system testing?

601


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

1693


What is post recovery scenario?

1649