Hi Deepa,
Welcome to JWebUnit.
Why did you want to set manually a hidden field ? A real user can't do this, so it's not supported with new API. However, did you try the SVN version ?
++
Julien
Welcome to JWebUnit.
Why did you want to set manually a hidden field ? A real user can't do this, so it's not supported with new API. However, did you try the SVN version ?
++
Julien
----- Message d'origine ----
De : Deepa Jacob <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Mardi, 13 Juin 2006, 5h34mn 59s
Objet : [Jwebunit-users] JWebUnit Tests
De : Deepa Jacob <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Mardi, 13 Juin 2006, 5h34mn 59s
Objet : [Jwebunit-users] JWebUnit Tests
I am new to JWebUnit. We decided to try creating test cases for our new application. We are facing a problem: The first page has a hidden field xxx . On submit of the form , the processForm1 action is
called which is then forwarded to displayForm2 action. Form2 doesn't have the hidden field xxx.
Our test case bombs at the WebTester.setFormElement - InvocationTargetException message - Did not find form element with name xxx
Is there another way of approaching this?
Any suggestions will be appreciated.
Regards,
Deepa
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
_______________________________________________ Jwebunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-users
