Monday, March 17, 2014

Message Box closes automatically using windows shell

Dim msg
msg = “Message Box automatically close in 5 second”
Set oShell = CreateObject(“WScript.Shell”)
oShell.Popup msg,10, “QTP Challenges”
In above statement, there are three arguments -
msg – the content/string of the message box
10 – the time in seconds
“QTP  Challenges” – the title of the message box

No comments:

Post a Comment