we work on different computers at the same time.for e.g QTP is opened on both computers.Different project are opened on each computer but the projects use the same shared OR.OR is stored in QC server as well as both projects.I edit the shared OR on one computer. Finally, I save all changed and release the OR (switch to read-only mode).now I open the same OR on different computer (read-only mode). I click on Edit button in Object Repository Manager.QTP should ideally check the latest version of the OR and display the version.however this doesnt work like this.It looks QTP keeps some cache and all changes are stored just in the cache. Once you close whole QTP, all changes will be uploaded into the QC server.
Is there anyways we can achieve this without having to close whole QTP once we do some changes in shared OR?
from QTP Manual [9.5 User Guide, Page 230 in note section]
"To see saved
changes in a test or repository open on a different computer, you must open
the test or object repository file or lock it for editing on your computer to
load the changes."
You don't need to close QTP, just reopen the test that has the association to see the updates.
I would suggest breaking the OR up into some logical groupings by functionalities or windows/frames so you're all not trying to work out of one big repository. Then only load the ones you need for a particular script through the repositoriescollection object rather than an association. Would do wonders for script efficiency and solve your issue of stepping on each others changes.