Answer by Rich Text · Jan 10 at 03:09 PM
Sounds like you have one or more objects that have dynamically changing properties. Look at the object in the OR that is failing and see what properties and values are being used to identify that object. Next, use the object spy and point to that object in your application. Compare the property values in the Object Spy with the OR and see what is changing. You will probably need to use some sort of Regular Expression with the property so that UFT will ignore the change.
For instance, say you have an edit field with a text label that says "Update User 192837465" and this value changes each time you launch the application for your test. You need to change the number value but leave the other text to make the object as unique as possible. You can use a regular expression.
Go into the OR, find the object and find the property, such as text in this case, and click it. You will see a little icon appear to the right of the text value. Click it to edit the value. Next, click the regular expression checkbox. Delete the text that is changing, and replace it with a regular expressions, such as .. So now, the value would look like "Update User ." Click OK to update the value and then repeat this for any other property having issues. Then close the OR and test.
For more information, here's a list of regular expressions you can use: