Posts: 84
Threads: 23
Joined: Sep 2009
Reputation:
0
Hello All,
Can anybody please let me know how to automate PDF file.
I Want to do operation
1. Open PDF file
2. Read the content
3. Compare with another PDF file.
4. Close the file.
I am using QTP 10.0
Hoping for all of your cooperation.
Regards
Mahesh
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
Two ways,
1. Adobe's COM object is exposed for Adobe's proffessional[licensed full] Version. google about it and you will get it. [ Easy way ].
2. Parse PDF to a text file, read data from the text and compare. [ doable but it sure sweats ].
Make a choice my friend and you should be able to get your task done
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 84
Threads: 23
Joined: Sep 2009
Reputation:
0
Hi Basanth,
Thanks for the help, but could you please elaborate little bit more on this.
I was tried on google for a code to parse PDF to text file but i got only PDF convertor software which are not allowed at my office.
So please your help will be appreciated i need to show demo on this friday for the same
Thanks
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 84
Threads: 23
Joined: Sep 2009
Reputation:
0
Hi basanth,
Thanks for your help,
The reason behind not allowed any external software is only i am working on client end where external S/w's are not allowed.
Hope you are getting my trouble.
Please if you have any code to Parse PDF to text then it will be beneficial for me.
Please take in consider, hoping for your cooperation
Thanks
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
Did you consider the first option ? That should be allowed because it is legal. Dont the client have a Enterprise PDF version ?
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
Saket -
I read this. Excellent work dude !! Just wanted to know if this dll is a shareware or a freeware ? Is it re-distributable without credits to the creator ? I mean, it will be hard if we hit any licensing issues later working under enterprise.
Let me know your thoughts.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
Thanks Basanth,
this is freeware, however re-distributing this should have credits to atleast learnqtp.com.
Posts: 281
Threads: 116
Joined: Oct 2010
Reputation:
0
I cannot select the Download link for the LearnQuickTestPDF API. My company has the page blocked.
Can we get the LearnQuickTestPDF API elsewhere?
thx