• Post Reply Bookmark Topic Watch Topic
  • New Topic

JWebUnit: How to trigger onblur Javascript event handler?  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!