| || |
I need one help from you guys, since in my project I need to compare the two “.pdf” files content .So that my query is whether we can do it in the Test Partner , any one is having thought on it.
I am thinking we can do it by converting from pdf to text files, do we have any method on test partner for conversion of pdf to text files.
Thanks in advance!
You would probably have to find a third party tool to do a conversion from pdf to text. There is no native VBA code that I know of that will do a conversion.
Why not get a tool that is purpose built to do a comparison? Something like WinDiff or Araxis Merge might turn the trick.
you can use Adobe Acrobat SDK to save the pdf file as a text file. But, remember that most of the APIs in this SDK works only if you have Adobe Acrobat installed in your machine, not just Adobe Reader.
You may try this simple solution..
Copy the whole content of PDF and paste in a text file and compare. You can use SendKeys to accomplish this.