1

I have some editing that happens on in the onblur event for a text input which creates a pop-up if the field value does not fit the constraint. I know, archaic, but it exists, therefore it must be tested. I test other pop-ups that are created by button clicks using the ClickNoWait method but there does not seem to be a comparable NoWait event that will work with Blur. I tried KeyPressNoWait using (char)9 but no luck (the onblur event doesn't get fired). Any suggestions would be appreciated.

César
  • 9,939
  • 6
  • 53
  • 74
Eric Carlson
  • 761
  • 1
  • 6
  • 11

1 Answers1

0

Have you tried executing the java script code to fire a blur?

Browser.Eval("$j--.blur()");

See also: Unable to fire jQuery change() event on selectlist from WatiN

And: http://api.jquery.com/blur/

Community
  • 1
  • 1
Sean
  • 282
  • 3
  • 11