This activity takes the value of the control and validate it. Choose the right validation algorithm from the ValidationID dropdown list. Available options are: Item List, Email, Decimal number, Date, Regular Expression, Numeric Range, Date Range. In ValidationParameter define the template used by validating algorithm. When validation result is false a yellow text balloon appears above the control in the browser window. The default text is “Incorrect data. Expected format: […]”, but you can put custom error message text (in Input part of Properties window). Text to match is an optional parameter.
|Alternative Scenario If Failed
|checkbox; default is "on"
|Browser window name
|custom internal name for particular browser window, in order to use in Wizlink®
|you can change the name of activity for greater clarity of the scenario
|custom error message that appears above the control in the browser window when the result of validation is false; default text is “Incorrect data. Expected format: […]”
|Retry timeout [s]
|waiting time until the activity will execute: 1. any negative value means try once, if you fail – set Result to False and finish activity; 2. “0” means try until you get the effect; 3. any positive value is time in seconds in which the activity will persist trying until successful or the time elapses, if failed – set Result to False and finish activity
|Text to match
|checks whether inspected element contains given text (optional parameter)
|select the appropriate option from the dropdown list
|the template used by validating algorithm
|returns the Boolean value: it will return True if no error is in activity, otherwise it will return False
|Result Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities