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 / sreekanth chilam
Check it out with the below code & this will be the answer
for ur question..
Dim x, y
Set x =CreateObject("WScript.Shell")
y=x.Popup("Do you feel alright?",2,"Answer This Question:",
4 + 32)
Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
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)
Explain Descriptive Programming Types with Examples?
What are the advantages of Object Repository?
What is a recovery scenario?
Explain types of output values?
What is the pros and cons between QTP and Rational Robot
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",
Explain the types of object repositorys in qtp?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
What is the difference between the design-time and run-time data tables?
If the objects hierarchy is changing from build to build, then how you will handle that condition?
What are the check points can be inserted without recording?
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
In qtp, how you can remove the spaces from string?
How to use transactions in qtp?