Recently I faced an issue with the UFT OR, where I was unable to update the OR and as soon as, I am adding any object to the OR, all of the properties of other objects are throwing this error “Information cannot be retrieved for the selected test object”
It was very annoying, because a lot of effort was spent to create this repository and now, it just stopped working.
Below are the steps I followed for the resolution of this issue.
- Open the OR in the object repository manager.
-
Click on file->Export to XML. Save this xml file on the computer.
- Close the object repository manager and open it again.
-
Click on File->Import from xml and import the XML you have just created.
- Click on File->Save as to save this imported data as .tsr file.
-
Open the object repository comparison tool (Tools-> Object repository Comparison tool) and compare the new and the old repository. They should be same.
This newly create OR should resolve the issues.
Let me know, if you have any questions.
Thanks,
Sumeet Singh Kushwah
I am unable to export the object repository in XML. Please let me know how to resolve this issue.
LikeLike
Hi I created the new OR with the objects added from the corrupted OR. We maintain the test cases in QC and we have to define the new OR for each test case which would be tedious. Do you have any work around. Im trying with run time OR association but let me know for any other work arounds.
LikeLike
UFT provides an API to work with object repositories. You can use that to associate your object repository to the tests.
Thanks,
Sumeet singh kushwah
LikeLike
I try your solution to solve the problem,but there is nothing in my object repository manager.there is nothing exported when I export xml in object repository manager.can you help me solve this problem? thanks very much
LikeLike