Hi Sven,

Sven Haiges wrote:
Hi all,

how would I download a file as part of a test? I tried clickLink (download is triggered via a link), but that leads to an error as HTML is expected. I guess this is possible, but I could not find the right step in the manual.
[...]
What kind of file do you want to download?

--<snip>--
<clickLink description="get PDF document" label="Releasedokument herunterladen;-)" /> <verifyPdfText description="check PDF text" startPage="1" endPage="1" text="Releaseauftrag" />
--<snip>--

this works fine for us to download a pdf-file and check the type of document by simple check the text.

so what is your error?

--
Mit freundlichen Grüßen
------------------------------------------------------------------------
Michael Habbert

Senior Developer
Netpioneer GmbH, Beiertheimer Allee 18, D-76137 Karlsruhe
Geschäftsführer: Axel Jahn
HRB: 107521 Handelsregister Mannheim

Tel: 0721 / 920 60 21
Fax: 0721 / 920 60 30
E-Mail: [EMAIL PROTECTED]
www: http://www.netpioneer.de
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to