Editorial / Best Answer

When we Record by setting the repository to Per action each and every action will have its own repository. So each action will be independent with the other action w.r.t the Object Repository.

Shared:

When we record by setting the Object Repository to shared mode, all the actions in that particular Test can use the same Shared Object Repository . i.e there will be only one repository which contains all the objects that are required across all the actions.

I am giving this as per my Knowledge there may be some more as well...

Type

Advantages

Disadvantages

PerAction

The actions can be reused and as the repositories are individual there wont be any problem with the Objects.

If there are few objects that are being used in more than one action then there will be a duplicate occurence of the object in the object Repository as the object repositories are different for different actions

Shared

There will be only one Object Repository and can be maintained easily

Shared

Even if there is a need of using same object in more than one action, then there will be only one occurrence of the Object in the Object Repository.As the Object Repository is shared.

Showing Answers 1 - 1 of 1 Answers

srinivas potnuru

Jun 9th, 2006

Hi,

Both Per action and shared has its own advantages and disadvantages.

Per Action:

When we Record by setting the repository to Per action each and every action will have its own repository. So each action will be independent with the other action w.r.t the Object Repository.

Shared:

When we record by setting the Object Repository to shared mode, all the actions in that particular Test can use the same Shared Object Repository . i.e there will be only one repository which contains all the objects that are required across all the actions.

I am giving this as per my Knowledge there may be some more as well...

Type

Advantages

Disadvantages

PerAction

The actions can be reused and as the repositories are individual there wont be any problem with the Objects.

If there are few objects that are being used in more than one action then there will be a duplicate occurence of the object in the object Repository as the object repositories are different for different actions

Shared

There will be only one Object Repository and can be maintained easily

Shared

Even if there is a need of using same object in more than one action, then there will be only one occurrence of the Object in the Object Repository.As the Object Repository is shared.

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.

This site uses cookies to deliver our services and to show you relevant ads and job listings. By using our site, you acknowledge that you have read and understand our
Cookie Policy,
Privacy Policy, and our
Terms of Service. Your use of GeekInterview’s Content, Products and Services, including the Exforsys Inc Network, is subject to these policies and terms.