Micro Focus QTP (UFT) Forums
compare 2 pdf files - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: compare 2 pdf files (/Thread-compare-2-pdf-files)



compare 2 pdf files - maktha1 - 11-17-2011

How to show the difference on pdf file after comparing 2 pdf files, if they are different.. i'm using the below code
Code:
Set oPDF=createobject("LearnQuickTest.ManipulatePDF")

'If oPDF.ComparePdfFiles("C:\Users\sarishr\Desktop\CDO\sum by sales.pdf", "C:\Users\sarishr\Desktop\CDN\sum by sales.pdf ", "C:\Users\sarishr\Desktop\oone.txt",1,1) = true  Then
Then so and so..........

your response is much appreciated