Micro Focus QTP (UFT) Forums
Issue with UI Automation Addin of UFT 15.0.2 - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Issue with UI Automation Addin of UFT 15.0.2 (/Thread-Issue-with-UI-Automation-Addin-of-UFT-15-0-2)



Issue with UI Automation Addin of UFT 15.0.2 - skarthick - 02-24-2022

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