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

How to export data present in Datatable to an ".xls" file?

3 Answers  


In a webtable, lets say there are 10 records and 1 column. let say "image" is available for 1st,2nd and 3rd records and 4th onwards image is not available. How to recognise for that cell image is available or not?

2 Answers  


How to Synchronize the Browser at Field level? For example if you put Browser.sync(), it will wait upto for that Browser sync only. But It should wait upto total Browser get uploaded with all fields. Note : We don't know Which fields will come in that Browser. Means without knowing field names.

1 Answers   HP,


I want to check in the data table(Globalsheet) column exist or not through script .If column not exist only proceeded to next step Pls tell me how to proceeded?

5 Answers   Syntel,


What is the difference between client server application and web based application?

1 Answers   IBM,






How to get popup error message.

0 Answers   Tech Mahindra,


It is given in the help of QTP 9.2 that we cant debug the scripts. Is there any other way to VIEW, PAUSE and make modifications in the scripts during execution???

0 Answers  


How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.

0 Answers  


how can i do QTP Certification can any 1 tell me . How 1 approch and who to approch

7 Answers   ADP, Hydus,


How to export data present in Datatable to an ".xls" file?

2 Answers  


The hybrid framework can be implemented for any application. Is it true?

0 Answers  


How to pass parameters to Actions Pls anybody can give the answer.. Thanks in advance...

2 Answers   Navis,


Categories