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.

Answers were Sorted based on User's Feedback



Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the scri..

Answer / 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

Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the scri..

Answer / sreekanth chilam

Check it out with the below code & this will be the answer
for ur question..

Dim x, y
Set x =CreateObject("WScript.Shell")
y=x.Popup("Do you feel alright?",2,"Answer This Question:",
4 + 32)

Is This Answer Correct ?    10 Yes 5 No

Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the scri..

Answer / pavani prasad

a=30
b=20
c=a+b
Timeout = "2"
Set ws = CreateObject("WScript.Shell")
ws.Popup c, TimeOut

Is This Answer Correct ?    5 Yes 0 No

Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the scri..

Answer / sreekanth chilam

Hi sastry...

4 --->indicates to Show "Yes" and "No" buttons.
32--->indicates to Show "Question Mark" icon.

"Answer this Question.." indicates the Title of
messagebox ...

I hope u got ..it ..right?

Is This Answer Correct ?    4 Yes 0 No

Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the scri..

Answer / wilco

Is this possible with an inputbox too?

Is This Answer Correct ?    1 Yes 1 No

Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the scri..

Answer / sastry

hI Sreekanth Chilam ,Can u tell me wat is 4+32
and ,"Answer This Question:".....

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

What is parameter in qtp?

0 Answers  


iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?

0 Answers   Infosys,


What is optional step in qtp? How you can add optional step in qtp?

0 Answers  


Explain different checkpoints in qtp.

0 Answers  


Think and Reply.. can we parameterize radio buttons, check boxes? as in flight web site on flight preference page, choosing different flight produces trouble if from port and to port been parameterize, and runs. Try it by own you will get the error.

3 Answers   Patni,


HI. Plz Clarifie my doubt,having 2+yrs experience in Testing , But My accedamics(Xth,INTER) are Less than 60%, But B.Tech 72%. It creats any problem , When i change to any MNC. plz tell me......... lot of friends told it's a problem, Some people says NO problem, What .............

3 Answers  


what is the extension for the test version of the script?

5 Answers   TCS,


i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji

0 Answers  


how qtp handles customised object

1 Answers  


What are the benefits of quick test pro(qtp)?

0 Answers  


Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?

1 Answers   Crea,


what are the limitations of smart identification in qtp 9.0

0 Answers  


Categories