Upgraded UFT now some of my tests using UI Automation are broken

Category:
Question ID: 109936
1
1

Our team upgraded to UFT 15.0.1, but now some of our tests (recorded using UFT 12.54) are breaking. Is there some sort of fix that’s required?

Marked as spam
Posted by (Questions: 372, Answers: 39)
Asked on October 30, 2020 9:15 pm
5 views
Answers (1)
1
Private answer

Running tests made using previous versions of UFT can fail because of an update in the description properties used to identify objects. Using the Object Spy (and in the Object Repository), check the offending test object's *name* property. Make sure the *name* property in the Object Repository matches the value of the name property in your Object Spy and update in the OR if needed. Also, for UI Automation objects, always use the *name* property for object identification, as this property allows UFT to find the object the fastest during your test runs.

Marked as spam
Posted by (Questions: 0, Answers: 720)
Answered on October 30, 2020 9:16 pm
Followed your suggestion and it works perfectly, thanks
( at October 30, 2020 9:17 pm)