Hi Michael,

Not sure how to do an html snippet of this.

The actual href that triggers this is:

<a href="javascript:showclose();setUpGenerateBoardingPass();"><img
id="print_boarding_pass_button" name="print_boarding_pass_button"
src="../images/print_boarding_pass_button.gif" width="150" height="20"
border="0" alt="Print Boarding Pass. "  title="Print Boarding Pass. "
/></a>

and it calls
function setUpGenerateBoardingPass()
{setTimeout("generateBoardingPass();",500);}

which calls
function generateBoardingPass()
{document.location.href=('generateBoardingPass.do?status=review');}

which of course calls the page generateBoardingPass.do page.

This page, unless the session has timed out in which case it displays an
error, does not display at all but just provides the normal IE or Firefox
file download popup, letting you save or open the pdf boarding pass that it
has generated. Thus there is no html that I can give for this right?

Sorry if I've explained this poorly. I can ask the developers further
questions if you have any, and I appreciate your time trying to help. I have
a suspicion that the answer may just be that this approach doesn't fit
within the webtest pdf capability.

regards,

         john


On 6/18/07, Michael Habbert <[EMAIL PROTECTED]> wrote:

Hi John and Pip,

John and Pip wrote:
> 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 (
> [EMAIL PROTECTED])">
>
> which makes sense when I think about it.
[...]

And what does your HTML-snippet look like?

--
Mit freundlichen Grüßen

Michael Habbert

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

Reply via email to