Compare Files
With this node you can compare one or more files with a set of reference files.
It has the following configuration options:
- File to compare: here you can specify the file(s) to compare. Select the pencil to open Expression Builder.
- File/Folder to compare with: here you can specify the file or folder to compare with.
- If you specify a folder, each file will be compared with the file in this folder that has the same name. If a file with the same name cannot be found in the folder, the operation will error.
- If you specify a file, the source file will be compared with this specific file.
- Strict binary compare: if you select this checkbox, the files will be compared on a
binary level. If you leave this checkbox unselected, the files will be compared based on their
content.
- PDF files and images will be visually compared.
- Text files will be textually compared.
- JSON files will be compared as JSON objects.
- Difference file (visual compare): here you can define a location where a difference TIFF file will be written in case the difference file is not empty and the visual compare fails. It will help identifying all the differences.