File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
AJAX: Call back handler didn't work
scope issues?
Use Value of Another Tag in Onclick Event
how to disable onclick event
input type=image with JS