|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
How do you test an upload form?by hesco (Deacon) |
| on Mar 10, 2006 at 17:12 UTC ( [id://535829]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.hesco has asked for the wisdom of the Perl Monks concerning the following question:
In reviewing the perldoc for WWW::Mechanize and WWW:Mechanize::FormFiller, I can't find anywhere that advises how to automate a test of a file upload form. I'll want to validate the file for file type, permissions, length and probably even content, once its uploaded, but to test and exercise those validation functions (which I haven't written yet), I need an automated way of uploading a file to such a form. Can anyone here please advise how I would do this? Thanks, -- Hugh
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||