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 / pavani prasad

a=30
b=20
c=a+b
Timeout = "2"
Set ws = CreateObject("WScript.Shell")
ws.Popup c, TimeOut

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the Disadvantages of shared object repository?

575


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

1943


Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,

1383


What is test object model in quicktest professional?

626


Tell me about your project? please help me how to tell about insurance project

1537






Define Environment Variable in UFT and its uses?

612


How can we conduct U-I Testing by using QTP??????

1432


How to create runtime property for an object?

1452


give me an example where u used good judgement and logic in solving a problem

3364


The hybrid framework can be implemented for any application. Is it true?

591


Which environments does qtp support?

681


Explain different recording modes?

585


am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)

1284


what you mean by artifact,milestone...

1501


I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

1677