4 messages in com.canoo.lists.webtestRE: [Webtest] How to determine the na...
FromSent OnAttachments
Roger Waldner26 Jun 2008 08:13 
Forsberg, Mike26 Jun 2008 09:07 
Roger Waldner26 Jun 2008 23:31 
Marc Guillemot08 Jul 2008 02:20 
Subject:RE: [Webtest] How to determine the name of a downloaded file
From:Forsberg, Mike (mike@amd.com)
Date:06/26/2008 09:07:36 AM
List:com.canoo.lists.webtest

How are you downloading the file... is it a link that gets clicked? Is it from a servlet?

Big Mike

-----Original Message----- From: webt@gate4.canoo.com [mailto:webt@gate4.canoo.com] On Behalf Of Roger Waldner Sent: Thursday, June 26, 2008 10:14 AM To: webt@gate4.canoo.com Subject: [Webtest] How to determine the name of a downloaded file

Hi,

I have the following szenario which I would like to implement in WebTest:

- navigate to a download page - download a binary file (and let it save somewhere) - go to some other pages in my webapplication - upload the previously downloaded file

Now, to upload the previously downloaded file, I need the name under which it was saved. How can I undoubtedly find out the name of this downloaded file?

I know that I can prefix the name for the name of the downloaded file, but the rest of the file is still unpredictable (namely due to the usage of a unique number not known at download time).

Thanks and best regards Roger