Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can we set a timeout for the msgbox.I want the msgbox to
disappear after 2 seconds during the script execution
without clicking on the OK button manually.

Answer Posted / guest

Ya we can make the msg box disappear withou even clicking
on the msgbox. by using the time out property of the
vbscript.

Text_MsgBox = "Test"
Timeout = "2" 'in seconds
Set WshShell = CreateObject("WScript.Shell")
wshShell.Popup Text_MsgBox, TimeOut 'Prompt Message box

Is This Answer Correct ?    19 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..

2145


How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)

2160


what is the difference between built-i function and In-built function?

2101


How many ways we can parameterize data in quicktest professional (qtp)?

1002


When ‘option explicit’ keyword is used in qtp?

1197


Which recording modes need more memory?

1001


Explain the difference between data driven testing and parameterization ?

962


what is the difference btn risks & Therads in the Test plan documentation?

2066


When should I use smart identification?

1031


why should we give deliver good quality software?

2044


What are the ways you can synchronize?

998


how can i pass a "cript"as a parameter in to a function

1927


How you can write contexts to text file in qtp?

1000


What are the check points can be inserted without recording?

1014


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

1999