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

How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?

1504


How can you give wait up to 10 seconds in qtp?

586


what is error and fault in terms of software quality?

1505


how do u plan test automation?

1439


How you can replace string in qtp?

570






How you can find the absolute value of the number in qtp?

518


what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent

1334


For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?

1743


How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?

572


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

619


If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?

567


How the smart identification is used in real time?Please explain with an example

1545


Hi ,Can any one pleas explain how to test splash objects using QTP?

1903


Explain how you can find length of array in qtp?

598


Give the syntax to import/export xls into qtp.

584