When there is descriptive programming, why do we go for
Object repository for desigining scripts.?? why cant we use
descriptive programming instead of using the Object
repository..??

Answers were Sorted based on User's Feedback



When there is descriptive programming, why do we go for Object repository for desigining scripts.?..

Answer / pradyumna

In descriptive progmmaning the objeect's information should
be avialable,
desc. prog takes less tim to execute bcz the object's
information is avialable in the script,but it is very
difficult to mentain(update).but through object repository
we can easily write the script bcz the object's info is
avaialable in that OR.

i think this is the answer

Is This Answer Correct ?    2 Yes 1 No

When there is descriptive programming, why do we go for Object repository for desigining scripts.?..

Answer / vistaraj

Following are the reasons for using Descriptive Programming

1. Faster(High Performance): Execution of Decriptive
Programming is faster compaired the scripts whose object
properties are stored in Object Repository.

For OR: As, it takes time to load the OR first and then
identifying the object with all Mandatory Properties,
Assistive Properties and Ordinal Identifier(Index or
Location)

2. Donot Depend up on the Completion of the Feature:

From Development Team or from the Design Document, If we
know the object name and their properties then we can
start writing Automated Scripts using Descripting Program
irrespective of the Completeness of the Application.

No Need Wait till Application is developed and delivered
from Developer.

Is This Answer Correct ?    1 Yes 0 No

When there is descriptive programming, why do we go for Object repository for desigining scripts.?..

Answer / nanda

and also..

writing the script will take more time when writing in
DP. maintance of the script will be difficult.
if some of the object properties are changing from
build to build u have to update same in script also. but if
u are using Object Repository u can update those property
values in Object Repository. its one time change.or u can
handle this in object repository with reguler expression.

like this we can say many examples.

if any queries:
nanda.dreddy@gmail.com

Is This Answer Correct ?    1 Yes 1 No

When there is descriptive programming, why do we go for Object repository for desigining scripts.?..

Answer / gabbar singh

@Vistaraj
u answer favours the DP. question is still y PEOPLE go far
OBJ repo based inspite of having all those advantages.
still thanks for sharing you knowledge with the users :)

nanda's answer is closely related to the question.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Where we save all scripts in the QTP

5 Answers   Ordain Solutions, Sathya Technologies,


How to handle Dynamically changing Objects in QTP?

4 Answers  


What is the maximum size of Object Repository in QTP 8.2?

4 Answers   Mphasis,


Apart from VB script What are the fundamental criteria to gain the knowledge to write QTP script without OR and recording ?

2 Answers  


Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.

0 Answers  






what r advance features u had done in QTP?

3 Answers   HCL,


How to test background color and dynamic images which are moving during runtime?

7 Answers   CTS,


Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?

0 Answers  


In google i'm going to search something like "rose", i usually get 10 results in the first page and in 2nd page 10 results and in 3rd 10 results so on upto 10th page 10 results. so if i want to open all the 10 pages 10 results i.e., 100 results and close..what is the DP for this? pls can anyone answer my Question..PLZZZZZ...

4 Answers   Indium Software,


What are the disadvantages of Recovery Scenarios in QTP ?

3 Answers  


how to explain a claims and insurance project?

0 Answers  


Why is action split used by qtp?

0 Answers  


Categories