Why you are Using Descriptive programming instead of Object
Repository?
Answer Posted / sd
Descriptive programming used - scenario
where the object identification properties used for
identifying a object are dynamic in nature and changes. To
handle this situation you can write a Dp script to get a
work around.EX --- GetROPropery
DP helps user to get around problem by adding vbscript code
and use programatic way to get a work around.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
In qtp, how you can remove the spaces from string?
What are the views available in qtp?
how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?
How to test login module with different username and password by using data driven testing in QTP?
How to remove associated function library?
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
With what extension you can save the list of tests in a file to run in test batch runner?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
How to use setroproperty?
How to associate shared object repository to test in qtp?
What are the key elements available in test result window?
Why script error occur in between recording in qtp?