jwebunit checkboxes

From: Vince Bono (vjb_at_netlabs.net)
Date: 02/25/04


Date: Wed, 25 Feb 2004 11:38:50 -0500

Is anyone aware of how to make jwebunit to work with checkboxes of the same
name ?

i.e.
<input type="checkbox" name="source" value="D" >Dogs <br>
<input type="checkbox" name="source" value="C" >Cats<br>
<input type="checkbox" name="source" value="O" >Other<br>

jWebUnit code.....

checkCheckbox("source") obviously fails !
and there appears to be no
checkCheckbox("source", "D") type of API

Thanks in Advance !

-- 
Vince Bono
NetLabs.net


Relevant Pages

  • Re: jwebunit checkboxes
    ... This requires a patch/enhancement to jwebunit. ... checkboxes for yes/no type elements in the project jwebunit evolved ... I've had it on my list to rework the checkbox support for over ... > Is anyone aware of how to make jwebunit to work with checkboxes of the same ...
    (comp.lang.java.softwaretools)
  • Re: Count check boxes
    ... Your statement that "A collection of these checkboxes can be got ... The querystring sent to the server includes the checkboxes are checked, and not the ones that are unchecked, and so to figure out which one is not checked is done by seeing what is not there. ... If the user's browser script is disabled or fails to execute, then the server application relying on that client side script will fail to perform as the monkey who patched it intended. ...
    (comp.lang.javascript)