Q: How do I save objects to a shared repository? When I use Object Spy it always saves objects to the local repository. Is there a way to save directly to a shared repository? If not, is there a way to easily move them from the local repository to a shared repository. I know about exporting local objects to a new-shared repository but I just want to add to an existing shared repository. Is there a way to simply get a new object from Object Spy into a shared repository?
A: No there is no way to have objects in Object Spy to save to a Shared Object Repository (SOR). To move from Local Object Repository (LOR) to SOR with UFT. (QTP is different)
-
To get to the 'Object Repository Manager'
From UFT go to Resources > ‘Object Repository Manager...” -
Load the Shared object repository in the ‘Object Repository Manager’. File > Open
-
UFT enable editing. File >” Enable Editing”.
-
Update Shared Object Repository in the ‘Object Repository Manager’. Tools > 'Update from local repository....’
-
Select the test that has LOR objects to be updated.
-
Update SOR and work thru the merge Results.