Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


what is meant by descriptive programming?

Answers were Sorted based on User's Feedback



what is meant by descriptive programming?..

Answer / khemlal sinha (mcafee)

when you record an application in QTP it will add that object in object repository . while running the test it will identify ogject based on the property available for that object in repository.

in descriptive programming you will write the description of each object in the script itself so you won't be dependent on object repository .

let me know if you got it or not

Is This Answer Correct ?    3 Yes 0 No

what is meant by descriptive programming?..

Answer / 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&#8243;, "property2:=value2&#8243;).Click

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

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

does QTP provides any tools for parametrisation?

4 Answers  


What are the Disadvantages of shared object repository?

0 Answers  


How you are developing the script? Using record and play back or manual?

0 Answers  


How to Import data from a ".xls" file to Data table during Runtime.

1 Answers  


diff between dim & redim ? in detailed? pls any one explain me?

1 Answers  






Can we run multiple QTP scripts one after the other without manual intervention? How?

0 Answers  


Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?

1 Answers  


I am testing a Website thelancet and create a description for searching "health" in search edit box.But my description failed on last two lines.Can anybody solve this

1 Answers  


what is keyword driven testing in qtp?n how is it useful?

0 Answers  


I have action1, action2, action3 r there.my query is while executing if i get any error in action1 i want exit from here itself, otherwise execute action2, if i get any error in action2 i want exit from hereitself, like this,what is the method for this?

5 Answers   AZTEC,


How many ways return more then one value from function?

2 Answers   Ingram Micro,


How do you return a value for an array.

1 Answers  






Categories