Have you tried using FormTester?

On Wed, Oct 22, 2008 at 5:20 AM, Minto van der Sluis
<[EMAIL PROTECTED]> wrote:
>
> Hi folks,
>
> Creating unittests for my pages I managed to read the value a checkbox of a
> rendered page. I used:
>
>    tester.assertModelValue( "form:myCheckBox, true );
>
> However I failed to change that value in my unittest prior to submitting the
> form.
>
> Can anyone point in the right direction?
>
> Kind regards,
>
> Minto van der Sluis
>
> --
> View this message in context: 
> http://www.nabble.com/how-to-unittest-a-checkbox-tp20106917p20106917.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to