Update of /cvsroot/jwebunit/jWebUnit/testcases/FormSubmissionTest
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4385/testcases/FormSubmissionTest

Modified Files:
        CheckboxFormWithLabels.html 
Log Message:
Added JSP for asserting submitted request parameters. Used that to fix the 
checkboxes test to validate submitted form.

Index: CheckboxFormWithLabels.html
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/testcases/FormSubmissionTest/CheckboxFormWithLabels.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CheckboxFormWithLabels.html 22 Dec 2005 18:05:01 -0000      1.1
--- CheckboxFormWithLabels.html 23 Dec 2005 10:21:32 -0000      1.2
***************
*** 4,8 ****
  </head>
  <body>
!       <form method="GET" action="TargetPage">
                <p><input type="checkbox" name="chk" value="1" /> Check 1</p>   
        
                <table><tr>
--- 4,9 ----
  </head>
  <body>
!       <p>CheckboxFormWithLabels</p>
!       <form method="GET" action="../params.jsp">
                <p><input type="checkbox" name="chk" value="1" /> Check 1</p>   
        
                <table><tr>
***************
*** 11,22 ****
                </tr></table>
                <p><input type="checkbox" name="chk" value="5" /><br />Check 
5</p>
!               <p><input type="radio" name="rad" value="10" /> Radio 10</p>
                <table><tr>
!                       <td><input type="radio" name="rad" value="11" /></td>
                        <td>Radio 11</td>
                </tr></table>
                <hr />
                <p>Check 20 : <input type="checkbox" name="chk" value="20" 
/></p>       
!               <input type="submit" name="button">
        </form>
  </body>
--- 12,23 ----
                </tr></table>
                <p><input type="checkbox" name="chk" value="5" /><br />Check 
5</p>
!               <p><input type="radio" name="radio" value="10" /> Radio 10</p>
                <table><tr>
!                       <td><input type="radio" name="radio" value="11" /></td>
                        <td>Radio 11</td>
                </tr></table>
                <hr />
                <p>Check 20 : <input type="checkbox" name="chk" value="20" 
/></p>       
!               <input type="submit">
        </form>
  </body>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to