Micro Focus QTP (UFT) Forums

Full Version: Issue with UI Automation Addin of UFT 15.0.2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Observing the below issues while using UI Automation Addin for my application.

1) UFT behaves inconsistently while spying/ saving the UIA objects to Object Repository -- Either UFT is closing abruptly or showing error while saving OR
2) When I run the below code, for the same UIA Objects highlight statement is working (Refer line numbers 1 & 3). But other methods like Activate, Type, Click are showing error (refer line numbers 2 and 4)). Shows Run Error " Object Not Visible"

 LineNo 1     UIAWindow("XXX").UIAObject("YYY").Highlight
 LineNo 2     UIAWindow("XXX").UIAObject("YYY").Activate
 LineNo 3      UIAWindow("XXX").UIAObject("YYY").UIAHyperlink("Search").Highlight
 LineNo 4      UIAWindow("XXX").UIAObject("YYY").UIAHyperlink("Search").Click