Hello Scooterites,
I wrote an automation software that compares output files to sets of what we call Known Goods. Basically to make sure that our software still outputs the same files from version to version.
I always had trouble with this testcase where it creates a Docx file and compares it to its known good. The testcase always fails. When compared with the BCompare GUI tool, both files get detected as Microsoft Word documents, but the contents are garbled for both files.
ex: àfo%dN´¹”O‘X*h—"YçÀuO&G‘
I have tried making a new output to become the known good and comparing a newer output with the same version of our software, but the new file fails because the garbage differs from run to run.
I never have trouble with the Doc testcases, just with most Docx. Any idea why?
I wrote an automation software that compares output files to sets of what we call Known Goods. Basically to make sure that our software still outputs the same files from version to version.
I always had trouble with this testcase where it creates a Docx file and compares it to its known good. The testcase always fails. When compared with the BCompare GUI tool, both files get detected as Microsoft Word documents, but the contents are garbled for both files.
ex: àfo%dN´¹”O‘X*h—"YçÀuO&G‘
I have tried making a new output to become the known good and comparing a newer output with the same version of our software, but the new file fails because the garbage differs from run to run.
I never have trouble with the Doc testcases, just with most Docx. Any idea why?
Comment