File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JWebUnit: How to trigger onblur Javascript event handler?

Dave Alvarado
Ranch Hand
Posts: 436
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm using the latest version of JWebUnit-HtmlUnit plugin (2.2) along with Maven 2.2 to run some test cases. In my web pages, I have some onblur Javascript event handlers associated with some text fields. How do I simulate clicking into one of those text fields and then putting the focus somewhere else, thus triggering those onblur event handlers?

Thanks, - Dave
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic