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
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
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)
what is the difference between built-i function and In-built function?
How many ways we can parameterize data in quicktest professional (qtp)?
When ‘option explicit’ keyword is used in qtp?
Which recording modes need more memory?
Explain the difference between data driven testing and parameterization ?
what is the difference btn risks & Therads in the Test plan documentation?
When should I use smart identification?
why should we give deliver good quality software?
What are the ways you can synchronize?
how can i pass a "cript"as a parameter in to a function
How you can write contexts to text file in qtp?
What are the check points can be inserted without recording?
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail