Micro Focus QTP (UFT) Forums
Object repository - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Interview Questions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Interview-Questions)
+--- Thread: Object repository (/Thread-Object-repository--4606)



Object repository - qa.dhara - 03-24-2011

Hi all,
How do we share object repository in real time among group of testers, i mean how we generally use it.This was one of my interview question .... Thank you


RE: Object repository - tarun - 03-24-2011

A shared object repository is used by all the tests with which it is associated. So if there are multiple tests running at same time using the same repository then it is shared between these tests.
Only one tester can edit the repository at one time although other can open the repository in read-only mode.
I hope this answers your question.


RE: Object repository - qa.dhara - 03-25-2011

Thank you so much,can you please explain in detail i mean if we change or update or delete any object which effects the other testers script execution how are we going to handle all such issues


RE: Object repository - tarun - 03-25-2011

If some one change or update an object in a shared object repository, then all the tests that are using this repository will use the updated version only. However this happens when the test is closed and opened again. On reopening of the test, the test descriptions used in the test will get updated automatically.
If some one deletes an object that is used by some other tester then that test is going to fail.

In real time, however, the shared repositories are handled by only a couple of people in a team and that too under strict configuration control


RE: Object repository - qa.dhara - 03-26-2011

Thank you so much tarun