Answer Posted / gopal
Without giving the object information into the object
repository
we can directly execute the test scripts by using DP.By
considering
following condition we will come to know how useful DP is.
1. When objects are dynamic in nature, they require special
handling
to identify the object, to handle this type of objects we
use
descriptive programming.The best example would be to click
on the
link which changes according to the user of the
application.
2. When Object Repository is getting huge in size, due to
adding No.of
objects into it, the performance of QTP will be decreased.
3. When you dont want to use the object repository at all,
then the
first question will be why not object repository.
considering some
scenarios we can understand the importance of DP.
Scenario 1. When we are having an application, which is not
yet been
developed, or in the state of run, QTP requires the
application to be
up to record the object properties to identify an object.
waiting for
the application to be up will be the waste of time, and if
we know the
flow of the application, then we can start writing DP.
Scenario 2. If we having an application, with 3 text
buttons each in
a page, adding all this 3 objects into the object
repository, in the
flow of 10 pages, a total 30 objects will be added into the
repository,
which is not a good practice, by writing 3 descriptions for
the objects
we can add them to the repository.
4. Modification for test script is required, but the
repository for the
same will be in the state of "readonly" or in "shared
mode", so modification
will impact other scripts as well.
5. When we are performing similar type of action on
objects,i.e, when
we are having an application with 20 text buttons, adding
all this
objects will not be a good practice.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is qtpro? What is a quick test professional?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
Which functionalities of QTP used in banking project?
Hello friends..... On which areas of an application we can not test with QTP
How do I get the QTP scripts result in xml format by using vb script function?
How to analyzing test results using quicktest professional?
Hai anyone please "Explain about Framework in QTP?"
What are the features of quick test pro(qtp)?
What is test object model in quicktest professional (qtp)?
How did you resolve conflicts present in Object Repository?
How do we analyze the checkpoint results?
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
Can we run multiple QTP scripts one after the other without manual intervention? How?
Tell me one scenario, the complex functionality you have automated in your project?
What are the advantages of parameterization ?