On this page of the Checkpoint wizard, you can specify the baseline contents against which the contents of your PDF file will be compared:
Option | Description | ||
---|---|---|---|
Current file contents | Use the contents of a PDF file you have specified on the previous page of the wizard. Enter the name of the Stores > Files item that will keep the baseline data.
|
||
File from Stores | Use the existing Stores > Files item as a baseline copy. Select the needed item from the drop-down list.
|
The Allowed difference value specifies the expected difference between the actual and baseline file contents (in bytes). The comparison procedure will calculate the actual difference and check it against the expected value. If the actual value is less than or equal to it, TestComplete will consider the contents identical. See Comparing Files by Bytes for details.
Click Finish.
If you are creating a checkpoint for a keyword test, TestComplete will insert the PDF Checkpoint operation to the text.
If you are creating a checkpoint for script code, TestComplete will generate and show the code that will compare the specified PDF files. You can then copy the code and insert it to your script.