Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display a Dialog box
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
Durring a QTP Test Script Run, is it possible to display a pop up or dialog box for a secound or two that dispays a message to the user, but with no comfirmation required?

I would like to display some values on my screen without use print or msgbox.

thx for your ideas.
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
i think print is the only solution if no confirmation required.
Reply
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
You can do that by shell scripting.

Code:
Set ShellObj = CreateObject("WScript.Shell")
ShellObj .Popup "Hello", 5
Set ShellObj = Nothing
ShellObj .Popup "Hello", 5>>>>In this step you need to replace "Hello" with your desired keyword and "5" with your needed time in sec to be displayed the popup.
Reply
#4
Solved: 11 Years, 3 Months, 4 Weeks ago
@Guin,

Thx for the idea. This is perfect. I will try this in a function that will pass a variable. Thx!

Lor
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Automating save dialog box in windows using UFT shipu 0 4,781 01-16-2015, 07:54 PM
Last Post: shipu
  QTP 11 - Chrome 24. Dialog box is identifying as Win object. Kannan R 0 3,090 08-13-2013, 08:10 PM
Last Post: Kannan R
  Dialog box differs on different browsers version (IE7 and IE9) for same application visitjaga 1 2,788 12-07-2012, 05:14 PM
Last Post: Ankesh
  Default value in Edit Box when Check Box is checked nacchio 2 5,092 07-18-2012, 12:21 PM
Last Post: sree.85
  Press the Skip button on the dialog box mv8167 3 3,243 12-06-2011, 12:24 PM
Last Post: prasant

Forum Jump:


Users browsing this thread: 1 Guest(s)