Well i would suggest to use

<invoke  description="Show and save the image"
   url="#{imgurl}"
   save="true"
   savePrefix="#{heading}" />

followed by

<previousResponse />

If you ommit the savePrefix the file will be saved with a random-number.
If you want to use some kind of name available on a previous page, get it with xpath and save it in a property first.

              <storeXPath
                   description="Extract heading"
                   xpath="//[EMAIL PROTECTED] = 'content-title']//text()"
                   property="heading"
                   default="" />

but then you also must make sure that it doesn't contain any special-chars like "\ / : * ? " < > |"
anyone got a nice regex for that? :D

Greets,
Andi

On 11.09.2007 09:28, Bodo Tasche wrote:
I know wget, I am a Linux-User for over 10 Years ;).

And no, it's not just downloading simple Files. I have to navigate through the Websites, Login on HTML-Login-Forms (no HTAccess :( ), add Documents to a shopping cart and than download the Zip-File. This is not possible via wget, I need a simple scripting enviroment for that and Webtest looks perfect for this kind of work.

Regards,
Bodo

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to