File Asserts
Last Modified on 28 February 2023
The following is a list of asserts for checking if a file exists, or to compare the contents of files:
File Content Comparison
Icon | Description |
---|
 | The File Content Comparison assert compares the contents of two files or the contents of one file against a File Content asset. You can specify several parameters to meet your comparison needs. |
File Content Comparison Editor

Function | Description |
---|
Comparable File Source | Select whether to compare a file to a File Content Asset or to another file. |
Comparison File | The file comparison's location if you selected to compare a file to a file. Otherwise, if using a File Content Asset, this can be left blank. |
File Content Asset | Select the File Content Asset to compare your file to if you selected to use an asset to compare your file. |
Ignore Case | Specifies if the comparison ignores letter case. |
Ignore Line Endings | Specifies if the comparison ignores line endings. |
Target | The location of the file you want to compare. |
Trim Spaces | Specifies if the comparison ignores spaces on the end of the file. |
File Existence
Icon | Description |
---|
 | The File Existence assert checks if a specified file exists. |
File Existence Editor

Function | Description |
---|
Exists
| Determines whether the assert checks that the file exists, or checks that the file does not exist.
|
Target File Path
| The location of the file you want to check.
|