Compares two text files and raises an error if there are differences.
SYS_VerifyText (sFile1, sFile2)
Variable | Description |
---|---|
sFile1 | The first file to compare, containing the expected baseline value. STRING. |
sFile2 | The second file to compare, containing the actual test result. STRING. |
Clicking on the error in the results file invokes the text Difference Viewer.
SYS_VerifyText automatically factors out end-of-line differences between platforms.
SYS_VerifyText is executed by the Agent process, not the Silk Test Classic process. To affect the host process, use the function with the hHost notation or machine handle operator. For more information about the machine handle operator and hHost, see Machine handle operator.
SYS_VerifyText("baseline", "testfile")