0

Is there is any way to update shared OR(Object Repository) in QTP without having to copy all Objects into local then exporting. I have an issue that i want to update the Shared OR and I'm unable to do that. if any of you know....kindly help me. your help is highly appreciated.

Thanks Manaysah

Manaysah
  • 375
  • 5
  • 15
  • 29
  • 1
    You want to Merge local repository into a shared repository? BTW what issue you facing? – Amol Chavan Jun 21 '12 at 07:01
  • No , I just want to make the local copy of Object Repository(OR) shared for all actions. and if there is way to copy all objects in OR at once, without having to copy each of them separated. – Manaysah Jun 21 '12 at 07:09
  • 1
    You need to understand the difference between local OR & shared OR. If the objects are stored in the local object repository they are available for particular action only. If the objects are stored in the shared object repository they are available for entire application. Shared object repository occupies less memory than the local object repository, that is why it is preferable – Amol Chavan Jun 21 '12 at 07:22

2 Answers2

2

As per your need, you have to update shared OR with Local OR. Please find this link for steps

Amol Chavan
  • 3,835
  • 1
  • 21
  • 32
  • thanks .... I understand, but i want to know if there is a way to copy all objects in the Repository to local to facilitate make changes to it and then exporting them to reusing them in as shared objects in other actions. – Manaysah Jun 21 '12 at 08:19
  • 1
    the issue solved using Object Repository manager. thanks very much the article was extermly useful. your help is highly appreciated. – Manaysah Jun 21 '12 at 08:38
2

Could it be that you opened the Shared Object Repository (SOR) in read only mode?

When opening SORs they are opened by default as read-only, you can uncheck _"Open in read-only mode" when opening the SOR.

SOR open dialog

Or if the SOR is already open you can enable editing by pressing the "Enable Editing" button (File -> Enable Editing)

Enable editing

Motti
  • 110,860
  • 49
  • 189
  • 262