Failing to recognize UI Automation objects during test runs after upgrading UFT
Category:
Question ID: 110177
1
1

We have a bunch of test scripts recorded using UFT 12.54 that have UI Automation objects. We used to have no problems running these test scripts until we upgraded to UFT 15.0.2. Now, our tests are failing because UFT can’t recognize these objects anymore during the test runs. Any help?

Marked as spam
Posted by (Questions: 424, Answers: 91)
Asked on July 28, 2021 12:25 pm
27 views
Answers (1)
1
Private answer

Check the affected test object's name in both the Object Spy and the Object Repository. If needed, update the Object Repository to match the value of the name property in the Object Spy. (NOTE: It's a good idea to *always* use the name property for object identification in UI Automation objects, as this property allows UFT to find the object more quickly during test runs).

Marked as spam
Posted by (Questions: 0, Answers: 771)
Answered on July 28, 2021 12:26 pm
0
Thank you! We were able to update the name property for our affected UIA objects, and we'll use it for future UIA objects
( at July 28, 2021 12:27 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top