02-24-2022, 03:01 PM
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
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