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″, "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

More QTP Interview Questions

you written some code in qtp for opening google.com browser and entered some text inthe search text box and clicked search button. this is ur script.. before running this script i have already opened two google.com browsers. now am running the script what will happen? script will run or what?? Thanks... Nani

4 Answers   Oracle,


give one example where you have used regular expression?

6 Answers   Ordain Solutions,


Thanks....But can u tell me how i use the QTP for GIS with one Example...

0 Answers  


what is action in QTP?

1 Answers   Infosys,


what is mercury.clipboard in qtp.where we can get this in qtp tool i.e tabs

1 Answers  






how to explain a claims and insurance project?

0 Answers  


Describe the process for writing text check point for a web application?

2 Answers   ssinformatics,


how to use command prompt using qtp?

8 Answers   HCL,


WHO IS THE BEST FACULTY FOR QTP IN HYDERABAD? A) NAGESHWAR RAO- MINDQ B) SURESH REDDY -SMART SOLUTIONS C) SURESH BABU- Q EDGE D) VENKAT - LIVE TECH E) GC.REDDY - HI-TECH CITY F) NONE OR OTHERS

7 Answers  


How to make arguments optional in a function?

1 Answers   Crea,


what happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ?

2 Answers   Covansys, Systel,


does qtp runs on internet explorer 7.0

5 Answers   BeBo Technologies,


Categories