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
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
after click on compose mail how can we attached a file in qtp with vbscript code
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
Both static and dynamic arrays are handled by the vb script. Is it true?
What are the common defects found in your project? (in qtp interview)
How to use conditional loops in qtp ?
Explain the checkpoint in qtp?
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
Hi All, How to get repeated word in string . Thanks Balaji
Discuss quicktest professional environment?
Where we use data driver in qtp?
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
What is the synchronization point in qtp?
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 ?