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 export data present in Datatable to an ".xls" file?
In a webtable, lets say there are 10 records and 1 column. let say "image" is available for 1st,2nd and 3rd records and 4th onwards image is not available. How to recognise for that cell image is available or not?
How to Synchronize the Browser at Field level? For example if you put Browser.sync(), it will wait upto for that Browser sync only. But It should wait upto total Browser get uploaded with all fields. Note : We don't know Which fields will come in that Browser. Means without knowing field names.
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?
What is the difference between client server application and web based application?
How to get popup error message.
It is given in the help of QTP 9.2 that we cant debug the scripts. Is there any other way to VIEW, PAUSE and make modifications in the scripts during execution???
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
how can i do QTP Certification can any 1 tell me . How 1 approch and who to approch
How to export data present in Datatable to an ".xls" file?
The hybrid framework can be implemented for any application. Is it true?
How to pass parameters to Actions Pls anybody can give the answer.. Thanks in advance...