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...


What is descriptive programming?

Answers were Sorted based on User's Feedback



What is descriptive programming?..

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

What is descriptive programming?..

Answer / mercy

Please refer the following link to get your answer:

http://www.knowledgeinbox.com/files/DP_in_QTP.doc

Is This Answer Correct ?    2 Yes 0 No

What is descriptive programming?..

Answer / chowdhury

link doesnt work anymore.....

Is This Answer Correct ?    1 Yes 0 No

What is descriptive programming?..

Answer / lavanya

thanx for sharing ur knowledge

Is This Answer Correct ?    1 Yes 0 No

What is descriptive programming?..

Answer / archana

great link.
thanx.

Is This Answer Correct ?    0 Yes 0 No

What is descriptive programming?..

Answer / saravana

very nice document

Is This Answer Correct ?    0 Yes 0 No

What is descriptive programming?..

Answer / chinmaya khatua

Thanks,
It is a great document.

Is This Answer Correct ?    0 Yes 0 No

What is descriptive programming?..

Answer / uma

It is a Very useful link for the Bigeners

Is This Answer Correct ?    0 Yes 0 No

What is descriptive programming?..

Answer / vinay

Descriptive Programming:
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

Is This Answer Correct ?    0 Yes 0 No

What is descriptive programming?..

Answer / hema

thanx for giving these nice information.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Which MS Excel formulas are possible to use in the DataTable? I am searching a formula for searching a field in the datatable

3 Answers   HP,


Hi, Can any body please tell me how to create framework in qtp & where i can get some material to learn about it. regards, rahulT

1 Answers  


I want to export the datasheet to excel.Instead of total file it exports only data without headers.How to solve this problem?

1 Answers   FAI,


Can I change properties of a test object?

0 Answers  


QTP9.1 does not support to text checkpoint in Windows application? Is this correct? If this is correct, what is alternative for Text checkpoint?

2 Answers  


Interviwer asked, How many years exper.. on QTP? I said, total 2 yrs exp in manual and QTP. QTP only current project arround 3 months. then interviewer ask , HOW BOLD YOU QTP? What you say?

1 Answers  


hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me

0 Answers   TCS,


Why divide a test into three action calls?

1 Answers  


How do u do batch testing in WR & is it possible to do in QTP, if so explain?

1 Answers   Crea,


What is the extension for Recovery scenario?

2 Answers  


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

0 Answers   TCS,


What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz

0 Answers   Livetek,


Categories