Hmm, strange. after invoking clickLink, I got an exception as just posted to marc and the list. Hmm. Marc mentioned the return mime type... but I assume it is text/html as usual... I mean the website is running live and does not have any problems...
Thx for the snippet, we also got some pdfs so I might extend our tests to checking for pdf content. Cheers\ SVen On 2/9/07, Michael Habbert <[EMAIL PROTECTED]> wrote:
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
-- Sven Haiges [EMAIL PROTECTED] Skype: hansamann Personal Homepage, Wiki & Blog: http://www.svenhaiges.de Subscribe to the Grails Podcast: http://hansamann.podspot.de/rss

