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 |
I am new with QTP. Is anybody could tell me where I can find a good tutorial with lots of samples?
what is the default ordinal identifier.what are the send keys in qTP.
Why to use descriptive programming?
if there r 10 windows open in QTP write a command to close all 10 windows at a time ?
Write a QTP script to print all the link names displayed in a web page
is qtp 9.2 create the scripts with the application run on mozilla firefox browser?
How many types of parameters are available in quicktest professional (qtp)?
What are the advantages of Automation objects than Test Objects?
i have .xls,.txt,.doc files are there (together). i want find only .xls file among them? how can we write function?
What is the maximum size of Object Repository in QTP 8.2?
How to Practice QTP Scripts?
what we do after completion of functional and regression testing