Ask a Question

Download and Open PDF file from web application

kapil_singh97
New Member

Download and Open PDF file from web application

I want to download PDF report from web application in first step and open same file after download in second step. Can anyone help in this.

 

Thanks,

Kapil Singh 

1 REPLY 1
tristaanogre
Community Hero

Re: Download and Open PDF file from web application

Where do you download it to?  It may simply be a matter of calling a commandline call from the download location to invoke the PDF.

 

What purpose does opening the PDF itself serve in your test scenario? Could you use the PDFBox plugin to verify the contents of the PDF without needing to open it?


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
cancel
Showing results for 
Search instead for 
Did you mean: