Hi Bruno,
FormTester actually does work. I've been playing around with it the last
couple of days. Have you got any validators set on your form fields? Like
LengthValidator? Furthermore what error messages do you get?


Bruno Borges wrote:
> 
>>
>> FormTester form = tester.newFormTester("form");
>> form.setValue("id", "555");
>> form.setValue("name", "foo");
>>
>> form.submit();
>>
>> tester.assertNoErrorMessage();
>>
>>
> This code is not working as error messages comes up anyway. Is this the
> right way to test a Form? If nobody has ever tried this, I'll create an
> issue to it on JIRA.
> 
> []'s!
> miojo
> -- 
> Bruno Borges
> Summa Technologies Inc.
> www.summa-tech.com
> (48) 8404-1300
> (11) 3055-2060
> 
> 

-- 
View this message in context: 
http://www.nabble.com/FormTester.setValue-not-working-tf3723076.html#a10420455
Sent from the Wicket - Dev mailing list archive at Nabble.com.

Reply via email to