Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calculator Display
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi,
I need to display the calc's output in a msgbox. What is the method/property, i need to use?

I used Window("Calculator").Static.GetVisibleText() and the windows re-started with a blue screen.Sad



Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi ,Try this



Code:
Window("Calculator").WinButton("1").Click
Window("Calculator").WinButton("+").Click
Window("Calculator").WinButton("2").Click
Window("Calculator").WinButton("=").Click
i=window("Calculator").WinEdit("Edit").GetROProperty("text")
msgbox i
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need help in capturing the Calculator result using QTP 11 vishruth143 0 2,103 01-20-2015, 11:08 AM
Last Post: vishruth143
  how to record operations performed on calculator kriday 0 2,237 09-26-2012, 01:04 AM
Last Post: kriday
  Need help on numeric value display AutomationTester2011 3 3,208 07-19-2011, 05:40 PM
Last Post: rajpes
  Display a Dialog box mv8167 3 4,631 07-18-2011, 07:53 PM
Last Post: mv8167
  test display value of englobing Span gerfred 1 2,025 02-14-2011, 03:26 PM
Last Post: gerfred

Forum Jump:


Users browsing this thread: 1 Guest(s)