Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to read PDF in browser
#1
Solved: 11 Years, 3 Months, 3 Weeks 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: 11 Years, 3 Months, 3 Weeks ago
Hello lihnke,

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

Thanks
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks 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: 11 Years, 3 Months, 3 Weeks 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: 11 Years, 3 Months, 3 Weeks 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: 11 Years, 3 Months, 3 Weeks 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: 11 Years, 3 Months, 3 Weeks 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: 11 Years, 3 Months, 3 Weeks 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: 11 Years, 3 Months, 3 Weeks ago
hey, its asking for login creds.

Reply
#10
Solved: 11 Years, 3 Months, 3 Weeks 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,197 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,460 03-11-2014, 12:13 PM
Last Post: devarapallliramana
Rolleyes QTP 11 not identify PDF Browser laxminaranaya 1 2,390 02-25-2014, 01:34 PM
Last Post: guin.anirban
  how to save a .pdf file in a browser window in qtp ssvali 15 20,615 09-24-2012, 06:14 PM
Last Post: Ankesh
  How to read text from PDF doc? Rahull 1 5,137 12-21-2010, 07:05 PM
Last Post: upadhyay40

Forum Jump:


Users browsing this thread: 2 Guest(s)