5 messages in com.canoo.lists.webtest[Webtest] pdf download - can I examin...
FromSent OnAttachments
John and Pip17 Jun 2007 15:40 
Michael Habbert18 Jun 2007 00:16 
John and Pip18 Jun 2007 14:07 
John and Pip20 Jun 2007 14:35 
Marc Guillemot02 Jul 2007 05:03 
Subject:[Webtest] pdf download - can I examine this using webtest?
From:John and Pip (pipa@gmail.com)
Date:06/17/2007 03:40:48 PM
List:com.canoo.lists.webtest

Hi,

The site I am testing has a number of pdf documents (tickets etc) generated on the fly. However, they are generated as downloads rather than as pdf links.

When I use the normal webtest pdf syntax (admittedly new to me) like so: <clickLink label="${Txt_AltText_PrintBoardingPass}" /> <pdfVerifyText text="Traveller Info"/> I get the error filename="C:\working\cwt\doc\isis\testTest.xml" line="133" message="Current response is not a PDF page but has following mime type application/x-download (com.gargoylesoftware.htmlunit.UnexpectedPage@4b0cbc )">

which makes sense when I think about it.

Is there any way around this, i.e. any way I can use the pdf support in webtest to examine the content of these pdf files that are generated?

thanks and regards, John Lockhart