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 you automate testscripts one by one or moduelwise or all at once

2 Answers  


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

0 Answers   IBM,


Why do we use breakpoints in QTP?

0 Answers  


Hai Guys, can anybody show me how to write automaed test cases using VB scprit(examples)...i had an interviw soon...please guyz send as quickly as possible

5 Answers  


Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..

1 Answers  






How to import the Test Results in QTP to an Excel sheet

4 Answers   Sonata,


how do you invoke the application through QTP?

1 Answers  


How do you check ticket cost and ticket number in flight application?

0 Answers  


Where virtual objects stores results?

4 Answers  


I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.

0 Answers  


write string reverse prog using vb script with out using string reverse statement();

4 Answers  


How can the functions inside DLL be called from QTP? i mean How can i use those functions(Inside DLL) in QTP

1 Answers  


Categories