This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JWebUnit: How to trigger onblur Javascript event handler?
 
Similar Threads
How to retain values...
javascript regular expression related problem.
JSP and Javascript
onblur, onchange, button clicked
JWebUnit: How do I simulate clicking enter in a text field?