AW: [Webtest] Re: Extension Field Usability: setFileField
webtest@lists.canoo.com
webtest@lists.canoo.com
Wed, 13 Jul 2005 09:54:52 +0200
Hi,
Could it be the that the uploaded file you validate is empty?
I uploaded with setFileField a file (1 KB) and receive on server-side an =
empty file.
The problem is:
if setFileField doesn't find the file=20
(in my case i used a relativ-path "data/import.csv" instead of =
"d:/webtest/data/import.csv" )
no error is thrown. So be sure to use an absolute-path.
Fritz
> -----Urspr=FCngliche Nachricht-----
> Von: webtest-admin@lists.canoo.com=20
> [mailto:webtest-admin@lists.canoo.com] Im Auftrag von Jacob Portnoy
> Gesendet: Dienstag, 12. Juli 2005 23:30
> An: webtest@lists.canoo.com
> Betreff: [Webtest] Re: Extension Field Usability: setFileField
>=20
> I am attempting to use setFileField to upload an .xsl=20
> spreadsheet. On the server end, it determined the validity of=20
> the .xsl sheet and routes the user's session accordingly.=20
> However, when using setFileField, the analysis on the .xsl=20
> file uploaded is failing, causing the session to be routed=20
> incorrectly.
>=20
> -----------------
> Jacob Portnoy
> Checkerboard, Ltd.
> JPortnoy@Checkernet.com
>=20
> On Jul 12, 2005, at 7:49 AM, Marc Guillemot wrote:
>=20
> > Date: Tue, 12 Jul 2005 13:31:57 +0200
> > From: Marc Guillemot <mguillemot@yahoo.fr>
> > To: webtest@lists.canoo.com
> > Subject: Re: [Webtest] Extension Field Usability: setFileField
> > Reply-To: webtest@lists.canoo.com
> >
> > Hi,
> >
> > what are your "standards"? I use the setFileField without=20
> problem to=20
> > upload images but a user (I think it was Lisa) already mentionned=20
> > problems depending of the OS on which it was running.
> >
> > Marc.
> >
> >
>=20
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>=20