Hi
Now that I have my property file working in my unit tests I have discovered an issue that I cannot see addressed in the JWebUnit documentation or Javadoc.
I am developing a web application in Struts and wish to test that error messages are being returned properly. My desire is to specify the property file key rather than hard coding the messages themselves.
This works fine for static messages, however many of the common validation error messages take one or more arguments that are inserted by Struts to make a complete message.
For instance: errors.integer = {0} must be an integer.{0} will be replaced when the message is compiled with the field name that it applys to.
JWebUnit does not appear to allow me to specify argument values (usually other property file keys) to insert into a particular error message. I have scoured the documentation and can see no sign that this is possible.
Would someone be able to confirm that this is the case?
Regards, Langdon
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Jwebunit-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
