Need msgbox to go away during scheduled runs from ALM
Question ID: 108958

When we are testing our scripts and monitoring them, we have a few areas where we have a msgbox pop up. Currently we have to comment these out to run scheduled test sets from ALM, then go back and uncomment them. This can be tedious and time consuming. Is there some better way to do this? I do not want to use recovery scenarios.

Marked as spam
Posted by (Questions: 386, Answers: 64)
Asked on April 23, 2019 4:32 pm
Answers (1)
Private answer

Rather than using a msgbox, try WshShell.Popup. You can use the below code to create a popup with a timeout. This code waits 60 seconds. Adjust as needed.

Set WshShell = CreateObject(''WScript.Shell'')
WshShell.Popup ''Waiting....just....waiting'', 60 , ''Wait a minute!!'', 1 + 16
Set WshShell = nothing

For more information about the WshShell.Popup, including different button types, click [this link][1].


Marked as spam
Posted by (Questions: 16, Answers: 807)
Answered on April 23, 2019 4:32 pm
That suits our needs perfectly! Thanks!!
( at April 23, 2019 4:33 pm)

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

Scroll to Top