This is a very interesting criteria of an Automation Test Engineers to create a messagebox that will create it self----> display---->and close automatically.
well I have used this in some of the projects...
the code is given below...
Set WshShell = CreateObject(”Wscript.Shell”)
WshShell.Popup “Wait 5 seconds”, 5, “Title”
//need more clarifications..
//use this code..
set a = createobject(”wscript.shell”)
msg=”Messagebox will close automatically"'//Message you want to display
but practically speaking it is of no use.If you want to display a message , we will not let it go. And in between of a test such message will slow down the testing process.
This can be treated as programming process.