Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Why you are Using Descriptive programming instead of Object
Repository?

Answers were Sorted based on User's Feedback



Why you are Using Descriptive programming instead of Object Repository?..

Answer / alok

I agreed with the answer#4 but with some little
clarification

When your application is also not ready at that time we
will go for DP.
Regards
Alok

Is This Answer Correct ?    8 Yes 0 No

Why you are Using Descriptive programming instead of Object Repository?..

Answer / rico

In some scenarios, QTP will not able to recognize the
objects in the appliation based on the description proivded
in the objects repository. Say, mutilple objects in the OR
has the same description and in these scenario QTP has the
abiguity of doing the operation on the object and throws an
error. To avoid this, we go fot the DP.

Is This Answer Correct ?    6 Yes 1 No

Why you are Using Descriptive programming instead of Object Repository?..

Answer / rico

Adding to my above answer, here is another scenario where
we can go for DP...say i have four webpages in my app's,
and in each web page, say, i have OK and CANCEL buttons.
Instead of adding this objects to OR at every page, i will
create DP for this objects and use it where ever i need to
do operation on it..........This way i can reduce the size
of OR which inturn leverage's the performance of the QTP

Is This Answer Correct ?    5 Yes 0 No

Why you are Using Descriptive programming instead of Object Repository?..

Answer / ram.polavarapu

well for small application we can go for object repository
and we can add the all objects if the application is big
then we can not add the all the objects in to the object
repository that time we can use the discriptive scipting

by using object repository the process is going to be
slow when we compare with descriptive programming


with out open the application also we can write the
descriptive programming.

Is This Answer Correct ?    4 Yes 0 No

Why you are Using Descriptive programming instead of Object Repository?..

Answer / chivukula.kumar

Descriptive Programming is a separate concept in QTP.
we can handle the Application by implementing the DP
instead of OR.

Advantages of DP:
1 DP Script is reusable Script
2 we can modify the script easly compare to QTP Code.
3 we can write script without application in hands based on
the properites of objects.
4 DP is flexable for high performance of application
compare to OR
5 DP script is very flexible for meet the object
implementation problem in application.

Is This Answer Correct ?    5 Yes 2 No

Why you are Using Descriptive programming instead of Object Repository?..

Answer / 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

Why you are Using Descriptive programming instead of Object Repository?..

Answer / belli nagaraju

In some scenarios, QTP will not able to recognize the
objects in the appliation based on the description proivded
in the objects repository. Say, mutilple objects in the OR
has the same description and in these scenario QTP has the
abiguity of doing the operation on the object and throws an
error. To avoid this, we go fot the DP.

Is This Answer Correct ?    1 Yes 0 No

Why you are Using Descriptive programming instead of Object Repository?..

Answer / sangeetha

1.For Dynamic objects ( properties during run time will
change ) ,we will go for Descriptive programming)
for example:

i=0
Browser().Page().Webedit("index:="&i).set
Next

2.When the application is not yet developed completely

Is This Answer Correct ?    1 Yes 1 No

Why you are Using Descriptive programming instead of Object Repository?..

Answer / prashanth chenna

Hi Nagaraj,
you are correct, We Using DP for the scripts whose objects
not exsisted in Object Repository.
But here Questing is In What Cases ur going for DP instead
of OR?
I think now u understnad the my Q?

Is This Answer Correct ?    0 Yes 1 No

Why you are Using Descriptive programming instead of Object Repository?..

Answer / senthilkumarv

Hi Rico you gave good examples.. Can you write Descriptive
Programming for that scenario?

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

what is the script(qtp) to export and import the datas from MSaccess to Excel sheet.if anybody know plz tell me.

3 Answers  


What is driver script and driver script in qtp frame work????

6 Answers   IBM,


Diff B/w Webserver and Client Server

2 Answers  


Write a command for setvalue function in a webedit

3 Answers   Wipro,


Tell some commonly used Excel VBA functions?

0 Answers  


Can any body explain me how to prepare QTP frame work with an example?? alexander.gdk@gmail.com

1 Answers  


We have a text file which contains 1 to 100 numeric values sequentially like 1 2 . . 100 Now we have to count them and transfer to XML file by writing a code in qtp.

1 Answers   Cap Gemini,


Explain how you can replace string in qtp?

0 Answers  


Hi, I Need code to click the webbutton inside of webtable. I need to click a particular 'Edit' webbutton inside of webtable. For Example... Having 5 Rows and 10 Columns. 'Edit' webbutton are placed in 10th Column. I need to click the 3rd row 'Edit' button with unique value. Browser("....").Page("...").Frame("...").WebButton("btn_Edit ") I Tried with below code: Set objButton = Browser("...").Page("...").Frame("...").WebTable("...").Chil dItem(3,10, Webbutton,0).Click - Not working this code :( Anyone can help me to sort out this simple issue ???

1 Answers  


Is it possible to change the extension of Shared object repository?

2 Answers  


how to write the descriptive programming in QTP for loginwindow.without using Step generator,object repository for referecnes

4 Answers   STC,


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

0 Answers  


Categories