The ValidationLibrary collection provides user code methods that simplify common validation tasks.
ValidationLibrary methods
To use these methods, add them to your recording module. For more information, see Using the User Code Library.
CompareValues
This method compares two strings and validates if they are equal. It requires two arguments: string value1 and string value2. If the strings are not the same, the application logs an error to the report and causes the containing module to fail.
Success example:
Failure example: