Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JWebUnit: How to trigger onblur Javascript event handler?

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

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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic