Your script and keyword tests can compare text and PDF files. The File Comparison Results page of the test log displays the file comparison results:
The baseline file is on the left (that file is stored in the Stores > Files collection of your project). The file to be compared is on the right.
The page highlights the differences between the files:
||The lines are equal.|
||The lines contain characters that are different.|
||The highlighted characters are different.|
||The line is absent from the compared file.|
||The line is absent from the baseline file.|
To navigate between the differences, click Previous Difference or Next Difference on the page toolbar.
The test engine creates this page –
If the comparison is done by the following script methods and keyword-test operations,
If these methods and operations report the compared files as unequal: