[Webtest] Spurious warnings?

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Mon, 04 Dec 2006 11:08:25 +0100


task attributes in an Ant file are not case sensitive and Ant seems to 
take the first method that match in a case insensitive way. Here it's 
the deprecated setFormname instead of setFormName.

This should be fixed in next build. I've removed the deprecated method. 
It's interesting to see that you're the first one to notice this problem 
when these warnings are generated since 1 1/2 years.


George Bills wrote:
> I'm getting a certain warn message from webtest, and I don't see why I 
> should be.
> The message is:
> [verifyinputfield]  WARN 
> (com.canoo.webtest.steps.verify.VerifyInputField) - Usage of attribute 
> 'formname' is deprecated - please switch to 'formName'.
> But I've already changed all of my "formname" to "formName":
> [gbills@localhost webtest]$ grep "formname" . -R
> [gbills@localhost webtest]$ grep "formName" . -R
> ./foor/bar.xml:                 formName="editbyhand"
> Does anyone know what's going on? Is there any way I can quiet just this 
> exact message? Thanks for any help.
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest