Download PDF from displaypasge.ashx frame within page

1 Answer 8 Views
Test Execution Test Recording
Mark
Top achievements
Rank 1
Iron
Mark asked on 21 Aug 2025, 10:27 AM

I have a page which when a button is clicked it opens a PDF inside a displaypage.ashx frame within the main page of the website and need to download this so can inspect the results - see below

Have tried saving the PDF when the page opens etc but when i run the test again it is not being saved as expected 

Am suing Edge and Adobe Acrobat is set as the default PDF viewer

Can anyone help with regards to how I can save the PDF at all?

Many Thanks

 

 

 

 

 

Steven
Top achievements
Rank 2
Iron
Iron
commented on 21 Aug 2025, 12:26 PM

This was a few years ago, Mark - but I was able to use Test Studio to verify the contents of student information in pdf files contained on our website without having to inspect them manually. I will try to find a sample of what I did in that test if you are interested.

Open PDF File - Progress Test Studio

How to Validate PDF File in Test Studio - Progress Test Studio

SSq

Mark
Top achievements
Rank 1
Iron
commented on 21 Aug 2025, 12:53 PM

Hi Steven

If you can that would be great. When clicking the button this just opens the frame with the pDF shown as I mentioned

The ID's used for the page are different each time the page is loaded 

If I simply try and inspect the image of the PDF the detaails for the PDF are different everytime 

Wondered if possible to save the PDF via a Coded Step which simulates clicking the button if this maes sense?

 

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 22 Aug 2025, 11:36 AM

Hi Mark,

Based on the details you shared I believe that the issue you have is related to handling the elements in the frame which is dynamic. Please, check this article on how frames are represented in the Test Studio project and focus on the topic of handling the frames with dynamic properties

In case this information is still not sufficient for you to adjust this specific test, please, consider sharing the failure details for the recorded failing actions against the frame. You can use the Export button in the failure section to get a zipped folder with all necessary details and share it along.

Please, keep in mind that this is a public forum post and the shared information is accessible from anyone on the internet. If you need to keep the communication secure, please, consider submitting a private support ticket where only you and the Progress Telerik team have access. 

Thank you for your time and cooperation in advance.

Regards,
Elena
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Test Execution Test Recording
Asked by
Mark
Top achievements
Rank 1
Iron
Answers by
Elena
Telerik team
Share this question
or