[Webtest] Re: Forms with Files

Marc Guillemot webtest@lists.canoo.com
Fri, 17 Sep 2004 09:17:00 +0200


ups, you're right.

Marc.

Joe Wyrembelski wrote:
> After some deep investigation I have it all working now. Here are my findings:
>  
> The "documentation" found at http://lists.canoo.com/pipermail/webtest/2004q3/001989.html <http://lists.canoo.com/pipermail/webtest/2004q3/001989.html>  is incorrect. The usage is not 
>  
> <setinputfile name="theNameOfTheFileInputField" file="/the/path/to/the/file"/>
> 
> but instead
>  
> <setfilefield stepid="Set the file" name="theNameOfTheFileInputField" filename="/the/path/to/the/file"/> 
>  
> Joe
>  
>  
> 
> 	-----Original Message----- 
> 	From: Marc Guillemot [mailto:mguillemot@yahoo.fr] 
> 	Sent: Thu 9/16/2004 11:58 AM 
> 	To: webtest@lists.canoo.com 
> 	Cc: 
> 	Subject: Re: [Webtest] Forms with Files
> 	
> 	
> 
> 	Hi Joe,
> 	
> 	I guess that you have a "old" version of webtest. Can you try with the last one?
> 	
> 	Marc.
> 	
> 	Joe Wyrembelski wrote:
> 	> Thanks Marc -
> 	> 
> 	> I can't, however, figure out how to use that custom step. Ant complains because it can't understand what the task is. Ant gives the following error message:
> 	> 
> 	> BUILD FAILED
> 	> C:\...\build.xml:252: Following error occured while executing this line
> 	> C:\...\webtest.tests.xml:187: Could not create task or type of type: setinputfile.
> 	> 
> 	> I assume there is some jar file or definition or something that I need to reference to get this to work. Can you give me a hand?
> 	> 
> 	> Joe
> 	_______________________________________________
> 	WebTest mailing list
> 	WebTest@lists.canoo.com
> 	http://lists.canoo.com/mailman/listinfo/webtest
> 	
>