Hey Alex,
I am using the comparison as this :
CompareFiles("C:\\Bur2125.PDF","C:\\myfiles\\PDF\\Burster\\Bur2125-Test.PDF").
I have attached two files Bur2125.PDF and Bur2125-Test.PDF.The first one is the file that gets published on the local drive during test run and the second one is an already saved file in one folder to use for comparison.The files are exactly similar but still the comparison fails on each run as the date and time timestamps change and the comparison fails. The same thing happens if I do comparison like this using the stores|Files collection: CompareFiles("C:\\Bur2125.PDF",Files.FileNameByName('Bur2125-Test.PDF')) .
If I just update the stored file in the Stores|Files collection to the updated copy and then compare ,the file comparison passes.
I tried using Hash value but also does not work as the timestamps change everytime for the published fiel and the hash value changes.
I read Allen's sent link to use pdf as MSAA application but that comparison is too intensive.I jus want to compare the files ignoring the timestamps. If you can send an example of the MSAA approach how to address the files.
Also I am sending the files by replying to [Issue# M0071709].
Thanks,
Sumedha