Descriptive programming verses object repository

What is the advantage of using descriptive programming over object repository?

Questions by m.shravani

Showing Answers 1 - 2 of 2 Answers

MaluR

  • Jul 23rd, 2008
 


 Object Repository:

    QTP identifies the test object properties which it learns while recording and stores the object properties in the object repository.QTP will use these stored properties while executing the recorded script.

Descriptive programming : this a script method where object properties are directly coded  instead of storing it object repository.
There are two types :
 
   * creating decription object using create.description()
   *You list the set of properties and values that describe the object directly in a     
       VBScript statement

 Advantages of DP over object repository:
 
 a) It is tedious to maintain the object repository, when the size increases.
 b) We have to cautious will using shared repository, if any changes made it will
     affect  all the tests associated with it.
 c) OR will be time consuming to maintain.
 
Regards,
MaluR

  Was this answer useful?  Yes

chand008

  • Jul 7th, 2010
 

Object Repository:

QTP identifies the test object properties which it learns while recording and stores the object properties in the object repository.QTP will use these stored properties while executing the recorded script.

Descriptive Programming :

This a script method where object properties are directly coded instead of storing it object repository.   There are two types :

* Creating decription object using create.description()
* You list the set of properties and values that describe the object directly in a VBScript statement

Advantages of Descriptive Programming over Object Repository:

a) It is tedious to maintain the object repository when the size increases.
b) We have to cautious will using shared repository if any changes made it will affect all the tests associated with it.
c) Object Repository will be time consuming to maintain.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions