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

What is the extension of the qtp local repository?

1023


Where we use data driver in qtp?

1007


Explain step generator in qtp?

1076


Is it possible to call from one action to another action in qtp?

996


Explain the concept of object repository and how quicktest professional recognises objects?

981


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

3252


How the exception handling can be done using quicktest professional (qtp)?

1049


how to find that tools work well with your existing system?

1839


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

2074


Hello friends..... On which areas of an application we can not test with QTP

2044


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

3475


Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri

1843


Describe function procedure in vbscript.

1086


What is test object model in quicktest professional (qtp)?

968


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

2017