CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.




Get it now !!
Send your Resume to 6000 Companies

Search Interview Questions

Question: Differentiate the two Object Repository Types of QTP.

Answer: In Qtp there are 2 object repositories, they are
1.Shared Object Repository
2.Per Action Mode,
by default it's per action mode.we will use shared OR for calling a particular action,it's like calling external libraries.we will use per action for a particular action ie, for one action only.



Category QTP Interview Questions & Answers - Exam Mode / Learning Mode
Rating (0.3) By 5735 users
Added on 7/21/2011
Views 56697
Rate it!
Question: Differentiate the two Object Repository Types of QTP.


Answer:

In Qtp there are 2 object repositories, they are
1.Shared Object Repository
2.Per Action Mode,
by default it's per action mode.we will use shared OR for calling a particular action,it's like calling external libraries.we will use per action for a particular action ie, for one action only. Source: CoolInterview.com


We can generate two kind of oR
1.Shared OR
2.Per Action OR (BY default)

Per Action OR Is action specific ,If any modification inti this file effect only that perticular associated action.

Where as for Shared OR ,Chages should effcet all the action.where ever it is been in use. Source: CoolInterview.com

Answered by: konyala | Date: 6/3/2009 | Contact konyala Contact konyala

Shared Object Repository: means multiple tests can share the same OR.
Per Action/Local object Repository: stores object associated to that perticular action/test.
Source: CoolInterview.com

Answered by: basavaraj | Date: 6/18/2009 | Contact basavaraj Contact basavaraj

In Qtp there are 2 object repositories, they are
1.Shared Object Repository
2.Local Object Repository,
by default it's Local Object Repository.we will use shared OR for shared a common OR among the multiple script.it is non editable while local OR are editable.and extension for local OR is ".mtr" while extension for shared OR is ".tsr" Source: CoolInterview.com

Answered by: Rachit Jain | Date: 6/25/2009 | Contact Rachit Jain Contact Rachit Jain

peraction is a default OR, which is created and managed by the QTP
Shared OR stored the objects information and associated with multiple tests, this is managed manually Source: CoolInterview.com

Answered by: latha | Date: 11/2/2009 | Contact latha Contact latha

Their are two repositories in qtp
1)local repository,
under this repository it will maintains single file for each and every actions.
2)Test shared repository
where as it maintains different files for different actions.
Source: CoolInterview.com

Answered by: rahul | Date: 11/5/2009 | Contact rahul Contact rahul

Local Object Repository(LOR)
1. Every action has its own.
2. LOR cannot be accessed as separate file.
3. Modify objects using Object Repository Window.
4. Big application its better.

Shared Object Repository (SOR)
1. All actions use same OR
2. SOR are accessible as separate file.
3. Modify objects using Object Repository Manager.
4. Small application its better Source: CoolInterview.com

Answered by: Nishant | Date: 11/7/2009 | Contact Nishant Contact Nishant

objects of LOR(local object repository) can also be used in other tests. what u need to do is go to local OR an click on the file menu ->export local object. save ur OR in specified path in .tsr file and associate this OR with any other test . Source: CoolInterview.com

Answered by: shobhika | Date: 12/18/2009 | Contact shobhika Contact shobhika

We have two types of repositories in qtp,they r
1)Local OR, which is specific to a particular action , By default for every action one Local OR is provided and managed by QTP and Shared OR which is common to all actions. Source: CoolInterview.com

Answered by: pavan | Date: 2/20/2010 | Contact pavan Contact pavan

Object Repository is of TWO Type
a) Local b) Shared

Whenever we create an action, an object repository is created by default for this action. We call this repository as local repository.


It is possible to assosiate an object repository with different action(which may be in the same test or different test).Such repositories are called (shared by multiple actions) shared repository.

The general step we follow in assosiating a repository with an action is by right clicking on the action name in the test flow pane and in action propertis tab we assosiate the repository we want. Source: CoolInterview.com

Answered by: Dipu Krishnan | Date: 3/2/2010 | Contact Dipu Krishnan Contact Dipu Krishnan

It is possible to assosiate an object repository with different action(which may be in the same test or different test).Such repositories are called (shared by multiple actions) shared repository.

The general step we follow in assosiating a repository with an action is by right clicking on the action name in the test flow pane and in action propertis tab we assosiate the repository Source: CoolInterview.com

Answered by: uvaraj | Date: 4/19/2010 | Contact uvaraj Contact uvaraj

1. Shared object repository occupies less memory than local object repository

2. We cannot remove a local object repository with its test script

We can remove a shared object repository with s test script

3. The objects in the local object repository are editable.

The objects in the shared object repository are not editable, they are grayed out. We need to select ?Enable Editing? (it also has ?Disable Editing?) to edit the objects

4. local object repository extension is .mtr
shared is .tsr

5. If we remove an object from the Shared Object Repository, it is NOT REMOVED from the Local Object Repository

6. We can modify objects in Local Object Repository using the Object Repository Window and objects in a Shared Object Repository using the Object Repository Manager. Source: CoolInterview.com

Answered by: Prashanth | Date: 5/14/2010 | Contact Prashanth Contact Prashanth


If you have the better answer, then send it to us. We will display your answer after the approval

Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.

Post your answer here

Inform me about updated answers to this question.
Related Questions
View Answer
What projects have you used WinRunner on? Tell me about some of the challenges that arose and how you handled them.


View Answer
What are the properties you would use for identifying a browser & page when using descriptive programming ?

View Answer
What is the difference between check point and output value.

View Answer
How the exception handling can be done using QTP

View Answer
How do you test siebel application using qtp?

View Answer
What are the different scripting languages you could use when working with QTP ?

View Answer
What is a Run-Time Data Table? Where can I find and view this table?


View Answer
Explain in brief about the QTP Automation Object Model.

View Answer
How does Parameterization and Data-Driving relate to each other in QTP?


View Answer
What are the Features & Benefits of Quick Test Pro(QTP)..?

View Answer
How to handle the exceptions using recovery secnario manager in Qtp?


View Answer
Can you do more than just capture and playback?


View Answer
How to handle dynamic objects in QTP?

View Answer
IF we use batch testing.the result shown for last action only.in that how can i get result for every action.

View Answer
How do you data drive an external spreadsheet?

View Answer
Explain the concept of object repository & how QTP recognises objects?

View Answer
How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the difference between them? how to handle script issues?

View Answer
How many types of Actions are there in QTP?

View Answer
I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?

View Answer
What is the file extension of the code file & object repository file in QTP?

View Answer

Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

View All QTP Interview Questions & Answers - Exam Mode / Learning Mode




India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.03125 Seconds