Setting WebEdit with QTP
Question ID: 104431
3
0

I am having trouble with setting data in formatted WebEdit boxes. Sometimes the text is applied then the data flashes and the WebEdit is cleared. Any thoughts as to what can be done?

Marked as spam
Posted by (Questions: 45, Answers: 1)
Asked on December 15, 2011 3:10 pm
33 views
Answers (2)
3
Private answer

This could be an event triggers when text is applied to the WebEdit. I would recommend looking for a Runtime method or use the Mercury Device Replay.


'Set the focus to the WebEdit then run this code.
Set DeviceReplay = CreateObject(''Mercury.DeviceReplay'')
DeviceReplay.SendString(''Hello, World'')
Set DeviceReplay = Nothing

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on December 15, 2011 3:14 pm
0
I did look at the Run time methods and that did not help. But I will try the device replay to see if that might work.
( at December 15, 2011 3:18 pm)
0
Private answer

I would try this manually and see if there is JavaScript on the page that is interfering with you.

Marked as spam
Posted by (Questions: 0, Answers: 1)
Answered on January 3, 2012 5:54 pm
EyeOnTesting

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

X
Scroll to Top