Pls let me know completely about descriptive programming,
where it is used, pls explain with a real time example of
its occurence and the program code written in qtp.
Answers were Sorted based on User's Feedback
Answer / subhan.qa
Whenever QTP records any action on any object of an
application, it adds some description on how to recognize
that object to a repository of objects called object
repository. QTP cannot take action on an object until unless
its object description is in the Object Repository. But
descriptive programming provides a way to perform action on
objects which are not in Object repository
There are two ways in which descriptive programming can be used
1. By creating properties collection object for the description.
2. By giving the description in form of the string arguments.
to know more about the descriptive programming please go
with fallowing link
http://bondofus.tripod.com/QTP/DP_in_QTP.doc
Thanks and Regards
Subhan.k
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ycy
The following are the points when to use DP
1.When you don?t have object repository in OR at all.
- Product under development
2.The objects in the application are dynamic in nature and
need special handling to identify the object.
3.When object repository is getting huge due to the no. of
objects being added.
4.Modification to a test case is needed but the Object
repository for the same is Read only or in shared mode i.e.
changes may affect other scripts as well.
5.When you want to take action on similar type of object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravindra
Suppose we have a web application that has not been
developed yet.Now QTP for recording the script and adding
the objects to repository needs the application to be up,
that would mean waiting for the application to be deployed
before we can start of with making QTP scripts. But if we
know the descriptions of the objects that will be created
then we can still start off with the script writing for
testing
| Is This Answer Correct ? | 0 Yes | 0 No |
Can abody explain me Send keys concept
Explain calling sub procedure.
How to give Table check points?
What is the Automation Process followed in your company?
Explain measuring transaction.
How to identify flash application when the qtp is not identifying the flash application objects.
explain keyword driven framework with banking domain?
what r the send key commands in QTP why they r used
How to use Environment parameterization in QTP? Explain with an example.
what is the extension of new local object repository?
How can i use Output Check points in QTP
Use of Multiple Actions in QTP?