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



Pls let me know completely about descriptive programming, where it is used, pls explain with a rea..

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

Pls let me know completely about descriptive programming, where it is used, pls explain with a rea..

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

Pls let me know completely about descriptive programming, where it is used, pls explain with a rea..

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

Post New Answer

More QTP Interview Questions

I have 5 no.of Action in my Test. Out off which i should make 3rd action as my start-up action. How should i make it?

9 Answers   IBM,


1.How recognize QTP Dyanamic Image? (suppose tha wedpage contains 3 logos..1 square 2.circle 3.rectangel)there changing at same position how to capture that)

3 Answers   Synechron,


how we do database testing with qtp using descriptive programming?

22 Answers   Nutrins, Rohit Technologies, Symphony, Syntel, TCS,


Hi Recently I Attend one interview .The intervier ask on Question in QC 9.2 . The Qus was while ruuning the Batch RUNS scripts in test lab if defect will comes .The defect automaticly wants to genate . How to Configure in QC . Thank You Balaji

0 Answers  


How to match two doc files using qtp requirment is:- each and every single word of a doc file should be matched with the another doc file. can someone send me the code.

1 Answers  






what is the difference btn risks & Therads in the Test plan documentation?

0 Answers   Accenture,


tell me the script for envirnment value parameeter with an example. which situation envirnment valu parameter is used

2 Answers   HCL,


can any body tell me all of the release dates of QTP?????..... thanks in adv!

3 Answers  


How can i open 5 multiple browser at once through QTP VB script and i want to login with 5 different credentials i already tried with this code but its entering credentials only for first browser and am using datatable to parameterize

2 Answers  


when i try to recognise a winmenu item it does not allow me to do that but recognises it as window..i am using qtp 9.2 could someone help with this

3 Answers  


In automation testing, while doing descriptive programing; how will u get the properties of the objects in what format, what type of a document, and by whom? Pls explain in detail. Thanks a lot

2 Answers   Quest,


Syntax for how to call one script from another and Syntax to call one "Action" in another?

1 Answers   Crea,


Categories