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 To clear the AutoComplete?
Explain Checking XML....
Can the user toggle between using Local OR and shared OR for the same action?
If QTP not recognizing using repository while executing, how can we go forward
Explain types of output values?
What is parameter in qtp?
How to use Regular Expressions in QTP
How to handle dynamic objects in QTP?
what is descriptive programming in QTP? How can be done?
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
How do you copy a value from a cell in an msexcel sheet saved on the desktop into QTP's datatable when the co-ordinates of cell are given?
i'm using QTP 8.2, How should i select(browse) object repository from desktop(or from local local drives like C:\,D:\)?. Note:- object repository to select(browse) is been sent by some other person who is using QTP 9.0