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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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)

1732


Explain Descriptive Programming Types with Examples?

921


What are the advantages of Object Repository?

585


What is a recovery scenario?

567


Explain types of output values?

564






What is the pros and cons between QTP and Rational Robot

3281


I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",

1349


Explain the types of object repositorys in qtp?

569


In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?

1435


What is the difference between the design-time and run-time data tables?

552


If the objects hierarchy is changing from build to build, then how you will handle that condition?

613


What are the check points can be inserted without recording?

594


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

1582


In qtp, how you can remove the spaces from string?

546


How to use transactions in qtp?

559