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


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

Hello Everybody, How to maintain the page state in QTP. My scenario is: 1. I opened a notepad file. 2. Entered some text in the notepad file. 3.And changed the font type and color of the notepad file. And saved that. 4.Now next time when I will open the notepad it is showing the changed font type and color, rather than the default values. Please provide the code. Thanks, Gaytri

5 Answers  


what is the framework followed by ur company in qtp

5 Answers  


wt is memory leakage?

6 Answers   BSL,


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

0 Answers  


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

0 Answers  


How to find RAM size by using QTP?

2 Answers   IBM,


How can i find out any "text's" coordinates in excel sheet For example: I want to know the coordinates of "F" Column in the excell sheet While recording when i clicked on F column it is showing the coordinate values 385,9 but with out recording how can i find out them Suppose i want to clik on "H" column writing the script like this Window("Book1").WinObject("Book1").Click (...........) Here I Dont know what (x y )values should i enter Please any one can help me?

1 Answers   Livetek,


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

0 Answers   Infosys,


How to associate shared object repository to test in qtp?

0 Answers  


why we use environment variables

5 Answers  


How to connect to the Database from QTP?

10 Answers   DB, Thatavarti Technologies, Xchanging,


How many types of Actions are there in QTP?

6 Answers   Wells Fargo,


Categories