Micro Focus QTP (UFT) Forums
Object repository losing object properties - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Object repository losing object properties (/Thread-Object-repository-losing-object-properties)



Object repository losing object properties - ishan.mahajan@adp.com - 08-17-2015

Hi,

I have multiple web objects added to my test. When i added them each object had multiple properties (name,outertext etc..) and a value for that property, today when i tried to run the script, it failed to recognize object. When i looked at the object properties in the OR, they were blank.

It is weird. When i added a property for a object (Say name for webedit) then all the property value reassigned to the object.

I face this issue frequently, any one else got this same issue or know the cause of issue ?

It looks like UFT is losing object property and when i help to add a or two property manually it gets them back.


RE: Object repository losing object properties - supputuri - 08-17-2015

The values will be blank in the add properties window - if the object is not identified unique by QTP/UFT. You are adding the properties to for the object here in this window, if the object already identifying unique then only it will show the rest of the properties values in the Add Properties window. So I don't expect the values displayed in this window until the object is unique.
Hope I am clear.

Coming back to blank values in the OR (not in add properties window): Are you sure you have saved the changes with the updated properties? Are you loading the correct OR(updated OR if located in another path) ?
Let me know if you have any questions.


RE: Object repository losing object properties - ADITI1992 - 08-20-2015

I guess this is the major drawback of recording. The maintenance and space requirement are huge.
You can do one thing to see if this is not the system problem.
Generate script for your test->the script will be generated in zipped folder->place this folder on some another computer and monitor the behavior.

plz let us know , how much free space you had in drive:/