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


Please Help Members By Posting Answers For Below Questions

What is the registration process and examination fees?

760


banking domain description for software tester for interview

3672


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

869


What is the diff between image and bitmap check point?

767


While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

1668


What are the different recording modes and how do they work?

826


How to break the object spy ?

874


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

6672


Did the scripts need lot of maintenance? If yes, why?

3541


Explain building blocks of the bpt framework ?

771


how to post xml data from QTP scripts to any application?

1732


How to recognise the webelement and verifying that webelement is enabled?

1882


can the activities of test case design be automated?

1645


Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..

4480


Where you are storing your script?

829