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 the extension of the qtp local repository?
Where we use data driver in qtp?
Explain step generator in qtp?
Is it possible to call from one action to another action in qtp?
Explain the concept of object repository and how quicktest professional recognises objects?
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
How the exception handling can be done using quicktest professional (qtp)?
how to find that tools work well with your existing system?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
Hello friends..... On which areas of an application we can not test with QTP
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
Describe function procedure in vbscript.
What is test object model in quicktest professional (qtp)?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.