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
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
What are the check points can be inserted without recording?
How would you directly trigger javascript in a test?
What are the different types of checkpoints?
How to create Reusable and Multiple Actions?
whow much strong on VB and C?
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
Output values? i want a practical example
how to prepared for first for the first interview?
can i compare two databases using QTP ?
What is CMMP and CMMH?
Hi, how can we check or avoid the memory leakage in QTP9.2?
What is qtpro?
How do we handle run-time errors?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!