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

There is an excel file of 1 to 100 sheets how you will iterate through it?

995


Can we create a qtp test from qc?

1026


Is QTP supports Unix. If yes, then how the test automation is done?

2182


What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz

1979


What are the methods of the TextStream object that are used for reading from a text file?

2258


Define virtual object?

1136


Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan

2505


How you calling actions in qtp?

1042


can u please explain what is the exact difference between qtp8.2 and 9.0

2162


What are the types of properties that quick test learns while recording?

1040


If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?

2160


Explain different checkpoints in qtp.

1246


what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?

1889


I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?

2315


hou can we use vb script in qtp could u tell me breafly

2197