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
There is an excel file of 1 to 100 sheets how you will iterate through it?
Can we create a qtp test from qc?
Is QTP supports Unix. If yes, then how the test automation is done?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
What are the methods of the TextStream object that are used for reading from a text file?
Define virtual object?
Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan
How you calling actions in qtp?
can u please explain what is the exact difference between qtp8.2 and 9.0
What are the types of properties that quick test learns while recording?
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 ?
Explain different checkpoints in qtp.
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?
hou can we use vb script in qtp could u tell me breafly