aspose file tools*
The moose likes Testing and the fly likes JWebUnit: How to trigger onblur Javascript event handler? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "JWebUnit: How to trigger onblur Javascript event handler?" Watch "JWebUnit: How to trigger onblur Javascript event handler?" New topic
Author

JWebUnit: How to trigger onblur Javascript event handler?

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
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
 
wood burning stoves
 
subject: JWebUnit: How to trigger onblur Javascript event handler?