I have requirement where in I need to compare two PDF files and report any mismatches. I have used File Content Checkpoint to perform this and its working. When there is a failure QTP results gives me the details as which line failed and what was not matching. Now my question is it possible to import this result (I mean the line which failed and what content was not matching) to our custom Excel or Html report ? If yes, how can it be achived.
What version of UFT are you using?
from UFT 11.50 onwards you can add a PDF checkpoint, that works exactly the same way as a web page checkpoint.. with the same sort of reporting.
You might find the new HTML run results in UFT 12.50/12.51 ar easier to work with than the old xml ones.
Thanks for the response Alex. I am using UFT 12.02 and its displaying results as Check point passed or failed and its not telling what part of PDF was in mismatch with the base document. Its highlighting the mismtaches in the screenshots and but not giving any info in the report. I wanted to capture those mismatches. Now what i am doing is reading Reporter.RunStatus value and if its Value is 1, then reporting generic statement stating PDF comparsion failed. My end client did not want to see the word checkpoint in the end HTML report.