Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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