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 you automate testscripts one by one or moduelwise or all at once
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
Why do we use breakpoints in QTP?
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
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
How to import the Test Results in QTP to an Excel sheet
how do you invoke the application through QTP?
How do you check ticket cost and ticket number in flight application?
Where virtual objects stores results?
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.
write string reverse prog using vb script with out using string reverse statement();
How can the functions inside DLL be called from QTP? i mean How can i use those functions(Inside DLL) in QTP