java - HtmlUnit submitbuttonClick is not working, it works in my apache tomcat and not in the client -


it works fine me when trying run on clients server not clicking button. if clicks don't know happen not redirect on second page. same page not second page have make while loop click around 10 times not work works in system. please me sort out this.. confused on this. don't know wrong..and if code wrong not run in system works perfectly.

if using click() method, won't affect on current htmlpage object, returns new instance of htmlpage. need assign new instance existing htmlpage reference:

page = button.click(); 

or assign new reference:

htmlpage page2 = button.click(); 

Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -