UFT API MessageBox.Show(”text”); throws error
Question ID: 106130
1
0

I have tried to debug a event code and can not use MessageBox.Show("text"); line. Did I not install something?

Marked as spam
Posted by (Questions: 44, Answers: 0)
Asked on June 10, 2015 5:15 pm
92 views
Answers (1)
1
Private answer

I am not sure you have an install issue. I found if you add the following line code to the header the MessageBox object will started working.

using System.Windows.Forms;

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on June 10, 2015 5:18 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top