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 How to get the result of a JS function when called from a button onClick in HTTPUnit 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 "How to get the result of a JS function when called from a button onClick in HTTPUnit" Watch "How to get the result of a JS function when called from a button onClick in HTTPUnit" New topic
Author

How to get the result of a JS function when called from a button onClick in HTTPUnit

Waldemar Pabon
Greenhorn

Joined: Apr 02, 2012
Posts: 1
Hi. I'm trying to get the result from a JS function when invoking the OnClick of a Button using HTTPUnit. The OnClick is trying to hide a field, but when I check the response received after the Button.Click I see that the Style attribute of the field still says that is visible. Anyone knows how to test this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get the result of a JS function when called from a button onClick in HTTPUnit
 
Similar Threads
Use Value of Another Tag in Onclick Event
AJAX: Call back handler didn't work
how to disable onclick event
scope issues?
input type=image with JS