09-23-2010, 05:55 PM
I am using the following code of lines in a vbscript file:
A pop up appears as expected but the popup does not gets timed out.
The code is working fine if i use it through QTP.
Any idea what could be wrong.
Code:
Set wshShell = WScript.CreateObject("WScript.Shell")
WshShell.Popup "Do you feel alright?", 2, "Question:"
A pop up appears as expected but the popup does not gets timed out.
The code is working fine if i use it through QTP.
Any idea what could be wrong.