Micro Focus QTP (UFT) Forums
How to get informations from msctls_statusbar - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to get informations from msctls_statusbar (/Thread-How-to-get-informations-from-msctls-statusbar)



How to get informations from msctls_statusbar - QADBA - 08-15-2008

Hello @all,

can any one please tell me how to get the status of the IE (QTP 9.5 with IE7)?
If i use object spy i get the objectname msctls_statusbar, but i don't know how to get informations from msctls_statusbar (e.g. if Status is Ready).

Thanks in advance


RE: How to get informations from msctls_statusbar - surya_7mar - 08-18-2008

Code:
sText = obj.WinStatusBar("nativeclass:=msctls_statusbar32").GetROProperty ("text")



RE: How to get informations from msctls_statusbar - QADBA - 08-18-2008

Oh, very easy.

Thank you!