How to display a popup in QTP?

Set WshShell = CreateObject("WScript.Shell")

WshShell.Popup “Welcome to QTP”,, “Hi”

Note: If we want to display the popup only for 3 seconds and disappear then,

Set WshShell = CreateObject("WScript.Shell")

WshShell.Popup “Welcome to QTP”, 3, “Hi”
 
                          

Comments

Popular posts from this blog

Is QA a easy job?

Latest Version of TestComplete

Successful tester