Hi Per,
I tried that before, still the same exception. From what I read using
clickLink() on the SubmitLink or doing submit() should do the same.
Per Newgro wrote:
> Hi Stephan Koch,
>
> i can't help you on the exception. But all i can see is that you don't
> call submit.
>
> FormTester loginFormTester = tester.newFormTester("form");
> loginFormTester.setValue("loginName", testUser.getUsername());
> loginFormTester.setValue("password", "test");
> loginFormTester.submit(); // <<<---- insert
> tester.clickLink("form:loginSubmit");
>
> But give it a try. I always have strange exceptions if i call methods
> "invalidly".
>
> Cheers
> Per
>
> ---------------------------------------------------------------------
> 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]