How can I extract the Alert Text Value from a Desktop Alert in UFT?
Hello Ken,
Thank you for contacting Infragistics.
The WinDesktopAlert object has very limited properties since most of the useful information is contained on the UltraDesktopAlertWindowInfo such as the Text property. The only way to access it is using the GetWindoInfo method on the desktop alert itself.
For more details about the desktop properties please view:
https://es.infragistics.com/help/winforms/infragistics.win.misc~infragistics.win.misc.ultradesktopalert_members
On UFT side you can use the GetNaProperty/GetNaProperties but unless you can actually instantiate a new UltraDesktopAlertWindowInfo you won't be able to access the info's Text property
Wait(2)t = SwfWindow("DesktopAlertWindow").SwfObject("SwfObject").GetNaProperties()MSGBox t