Hi Tanya,
My Requirement is to Capture the Tooltip caption and validate the same.
Set p = Sys.Process("YourApplication") ' Application object
Set h = p.WaitWindow("THintWindow", "*", -1, 10000)
if h.Exists then
Log.Message(h.WndCaption)
End If
As suggested i tried the Code which I found from link provided by you.
The parameter for WaitWindow method is WndClass of the Tooltip(in the above code snippet it is 'THintWindow') .But for some reason I am not able to get the wndclass of the Tooltip.
can you please suggest.