Hi Dinesh,

seems that followFrame's name and htmlId don't help in your case. Can
you open a issue for that?

In the mean time you can try something like this:

<groovy>
def page = step.context.currentResponse
def pdfPage = page.frames[0].enclosedWindow.enclosedPage
step.context.saveResponseAsCurrent(pdfPage)
</groovy>

Cheers,
Marc.

Dinesh Kumar wrote:
> Hi Marc,
> Thanks, But name is not provided for frame in Html Can we follow frame
> with src
> 
> <frameset rows="85%,15%" border="0">
>               <frame src="print.pdf?appType=1">
>               <frame src="printfooter.jsp">
>       </frameset>
> 
> Please let me know how to call this frame
> Thanks,
> Dinesh
> 
> ----- Original Message ----
> From: Marc Guillemot <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Wednesday, 28 November, 2007 6:29:35 PM
> Subject: Re: [Webtest] PDF Related Issue
> 
> 
> Hi,
> 
> steps work on the "current response". Using selectFrame makes the content of
> the selected frame the "current response". If this is a pdf content (ie with
> the right content type header from server) then you can perform pdf
> verifications.
> 
> Marc.
> 
> 
> Dinesh Kumar-4 wrote:
>>
>> Hi Marc,
>>
>> Can we do PDF verifications inside the Frame huh?
>>
>> Thanks,
>> Dinesh
>>
>> ----- Original Message ----
>> From: Marc Guillemot <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
>> To: [email protected] <mailto:[email protected]>
>> Sent: Wednesday, 28 November, 2007 5:51:18 PM
>> Subject: Re: [Webtest] PDF Related Issue
>>
>>
>> <followFrame name="name of the frame containing your pdf"/>?
>>
>> Marc.
>>
>>
>> Dinesh Kumar-4 wrote:
>>>
>>> Hi Guys,
>>>
>>> Im trying to automate our Application completely. but i got stuck up
>>  in
>>> PDF part.
>>> When i click on the print button it opens a PDF file..
>>> On clicking the Print option it will be taken to ../print.pdf file (
>>> processing will be done in percentage) and will be moved to
>>> ../showprint.jsp (where we will see the real PDF opened) . i think
>>  its
>>> opening inside the frame of the Jsp page.
>>>
>>> Just en light me on this how to do verification on this kinda PDF
>>>
>>> Thanks,
>>> Dinesh
>>>
>>> 
>>>
>>>
>>>
>>>      Forgot the famous last words? Access your message archive
>>  online at
>>> http://in.messenger.yahoo.com/webmessengerpromo.php
>>>
>>
>> --
>> View this message in context:
>>  http://www.nabble.com/PDF-Related-Issue-tf4887799.html#a13991310
>> Sent from the WebTest mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> WebTest mailing list
>> [email protected] <mailto:[email protected]>
>> http://lists.canoo.com/mailman/listinfo/webtest
>>
>>
>>
>>
>>
>>
>>      Why delete messages? Unlimited storage is just a click away. Go to
>> http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html
>>
> 
> -- 
> View this message in context:
> http://www.nabble.com/PDF-Related-Issue-tf4887799.html#a13991792
> Sent from the WebTest mailing list archive at Nabble.com.
> 
> _______________________________________________
> WebTest mailing list
> [email protected] <mailto:[email protected]>
> http://lists.canoo.com/mailman/listinfo/webtest
> 
> 
> ------------------------------------------------------------------------
> Now you can chat without downloading messenger. Click here
> <http://in.rd.yahoo.com/tagline_webmessenger_5/*http://in.messenger.yahoo.com/webmessengerpromo.php>
> to know how.

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

Reply via email to