ValidationLibrary | Ranorex Automation Helpers
Help CenterUser GuideRanorex Studio expert

ValidationLibrary

This collection contains user code methods that provide useful validation functionality.

To use them, simply ⇢ add the individual methods to the desired recording modules and configure them as described on this page.

CompareValues

Compares whether two strings are the same. String string1 / string2 are the strings to compare. It behaves like a Validation action, i.e. if the strings are not the same, will log an error to the report and cause the containing module to fail.

Examples for success and failure in the report: