what is meant by descriptive programming?
Answers were Sorted based on User's Feedback
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 |
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 |
how can i prepare for QTP(8.2) to face interview ? give over view details?
How to associate function library at a run time?
What is Virtual object wizard in QTP?
What is diffrence between Global variables and Environment variables...Anybody can give me answer..Thanks in advance..
How do you perform Regreession Testing?
how to create the varibles and how these are connect to qtp? plz tell me
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?
How to execute a winrunner script in quicktest professional (qtp)?
Can anybody send me the code to get the RO property of the active screen in QTP while running?
how do you done Data-driven test using MS-Word Instead of DataTable
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
Hi all, Recently i faced this question in infosys What is QTP architecture?? Is Architecuture and Framework are same?? Can someone please give clear understanding of this.