thejoker101
03-18-2003, 02:25 PM
Anybody ever use these? I've been running into a few problems and if anyone out there has used them, I'd be greatful if you could answer a few questions.
|
Click to See Complete Forum and Search --> : Ant / JUnit / JWebUnit thejoker101 03-18-2003, 02:25 PM Anybody ever use these? I've been running into a few problems and if anyone out there has used them, I'd be greatful if you could answer a few questions. khalidali63 03-18-2003, 03:51 PM I have worked with ant compiler,,,whats your question? I hope my knowledge of using it is not completely rusted.. yet. :D Cheers Khalid nickFirst 04-12-2007, 04:25 PM Hi guys, I have problems testing my jsp pages for a Struts application. My jsp has multiple submit buttons with same name but different values: <html:submit property="direction" styleClass="button" onclick="setNoValidate()"><bean:message key="search.for.client"/></html:submit> <html:submit property="direction" styleClass="button" onclick="setNoValidate()"><bean:message key="show.all.clients"/></html:submit> <html:submit property="direction" styleClass="button" onclick="setNoValidate()"><bean:message key="show.new.scenarios"/></html:submit> <html:submit property="direction" styleClass="button" onclick="setNoValidate()"><bean:message key="create.new.client"/></html:submit> The jsp page looks fine, but when testing the jsp page with jwebunit 1.4 and htmlunit, only the first submit button is seen. This fails for all the buttons, except the first: assertSubmitButtonPresent("direction", "SHOW ALL CLIENTS"); submit("direction","SHOW ALL CLIENTS"); Has someby has any ideas what is wrong? Nick webdeveloper.com
Copyright WebMediaBrands Inc., All Rights Reserved. |