Ad Home

Theme images by kelvinjay. Powered by Blogger.

Travel

Header Ads

Java

Selenium

UFT

Framework

General QA Concept

BDD

» » A message box that will close automatically


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...


Simple...
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
tme="5"
title=”testing”
a.popup msg,time,title




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. 

«
Next
Newer Post
»
Previous
Older Post

No comments:

Leave a Reply