Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to read PDF in browser
#1
Solved: 10 Years, 9 Months ago
Hi all,

Can any body tell me the solution for reading the content of PDF file that stored in browser?

Thanks in advance,
linhke
[attachment=419]
Reply
#2
Solved: 10 Years, 9 Months ago
Hello lihnke,

I have the same problem if you got any solution then please let me know.

Thanks
Reply
#3
Solved: 10 Years, 9 Months ago
I am preparing to demonstrate this as well with some nice documention, by the time see if this works for you.
you can use this to save the pdf and then you can read.

LearnQuickTestPDF

Reply
#4
Solved: 10 Years, 9 Months ago
Hi Saket,

I am trying your solution and i want to ask you some questions:
- The first, Can you tell me how to config to the message don't warn with each running scripts?
(as the attached file)[attachment=446]
- The second, Can you give an example about 'DownloadPDF' method?

Thanks,
linhke

Hi upadhyay40,

Did you try the Saket's solution?

linhke
Reply
#5
Solved: 10 Years, 9 Months ago
strange I never had this issue Smile
do you get this on every run?
did you run the install.vbs?
OS?

Reply
#6
Solved: 10 Years, 9 Months ago
Thank Saket, this message was dismissed. I thought that associate scripts with install.vbs Smile.
Any more, can you give me the example about 'DownloadPDf' method. I tried as: oPDF.DownloadPDF "pdflink", SaveAs or oPDF.DownloadPDF "pdflink", "C:\test.pdf", but don't get any files by all above?
Reply
#7
Solved: 10 Years, 9 Months ago
you are doing it in correct way, watch out the pdflink for any errors in the url.
it should work with all valid pdf urls, however it may depend on network connectivity/speed etc. I have experienced slow or bad file download on a slower internet connection otherwise works perfect.

let me know if your issue solved else mail me the pdf url.

Reply
#8
Solved: 10 Years, 9 Months ago
The pdf link: https://cyberstation-uat3.tester.loopone...e=20100624
Can you try it. If not done, i think may be depend on the security. And i will contact with admin for the acception.

Thanks
Reply
#9
Solved: 10 Years, 9 Months ago
hey, its asking for login creds.

Reply
#10
Solved: 10 Years, 9 Months ago
Oh, i am sorry Saket. With this site you have to login and perform many steps before go to that link. Could you give me the pdf link and your codes that you done successfully?

Many Thanks,
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Read Content inside PDF kotaramamohana 0 1,093 09-02-2020, 05:49 PM
Last Post: kotaramamohana
  Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify t Divya Roopa 1 8,287 03-11-2014, 12:13 PM
Last Post: devarapallliramana
Rolleyes QTP 11 not identify PDF Browser laxminaranaya 1 2,239 02-25-2014, 01:34 PM
Last Post: guin.anirban
  how to save a .pdf file in a browser window in qtp ssvali 15 19,866 09-24-2012, 06:14 PM
Last Post: Ankesh
  How to read text from PDF doc? Rahull 1 4,803 12-21-2010, 07:05 PM
Last Post: upadhyay40

Forum Jump:


Users browsing this thread: 1 Guest(s)