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 we retrieve the links from a web page where links are dynamically changing(for eg take a online shopping website) and then we have to click on all the links present in the webpage and go to the repective pages and again come back to the first page..
Can any one give me some basic VB script used in QTP ?As i am new in QTP.Give sample VB script used in QTP? PLZ
What types of testing comes under functional testing or in other word what will you test in functional testing?
How do you perform testing on web based application using qtp 9.2?
What is Parameterizing Tests?
Hi I am working with QTP.If I want to write a certification exams,Which one is the best one suggest me friends!!
How to add synchronisation points in qtp?
Which features or drawbacks of QTP lead to the upgrade for a newer version?
What type of error u will get if u have not installed java add in in java project? what is the error name ?
What are associated files in QTP?
If I change the property value at runtime is it effect is object repository?
what is the difference between window command and dialog command