I am trying to test a File Upload field with JWebUnit but I do not know how to do that. I see that JWebUnit has a dependancy on common-fileupload so I expect that this is possible but I can see nothing documenting it so the feature may as well not exist. I have done some extensive searching and looking so I think soon I might even go as far as check out the JWebUnit code for traces but I'm still not sure how to get this done. How do I make sure that a file is added to the HTTP Post when the form submit button is clicked in the test? Thanks.
A:
Okay, so as it turns out, after some searching through the source code I found a test on line 77 of a test file that basically explains how it works by doing it.
Robert Massaioli
2010-08-06 04:41:13