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
Post a Comment