Monday, 4 May 2015

QTP - 7 - About Local OR and Shared OR - Its Differences !!

Every action has its own repository known as per-action or Local Object repository. Shared OR is a warehouse where the repositories which are saved are accessible across all the actions.

Lets talk about their differences:

1). Local OR is accessible just to the particular action while Shared OR is accessible across all the actions.

2). Changes made to Shared OR is visible across all the actions in which it is hooked while changes made to local OR just remains in local action.

3) By default all the repositories are Local.

4) We prefer Local OR when the object's property is stable or static and Shared OR is preferd where the object's property is dynamically changing.

5) We can export our local repository to shared repository .

6) By default Shared Repository is non-editable but we can make it editable.



No comments:

Post a Comment