Micro Focus QTP (UFT) Forums
recovery scenario for closing a message box itself - 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: recovery scenario for closing a message box itself (/Thread-recovery-scenario-for-closing-a-message-box-itself)



recovery scenario for closing a message box itself - ashima - 12-26-2013

Hello,

I read that to close a message box automatically, there is a print option or this code:
Code:
[Set WshShell = CreateObject(“Wscript.Shell”)
WshShell.Popup “Wait 5 seconds”, 5, “Title”]

But there is a method of recovery scenarios too. Does anyone know how to do it.