Validate Element
Activity takes the value of a specified webpage input element and validates it.
Choose the right validation algorithm from the Validation Type dropdown list (vailable options: Item List, Email, Decimal number, Date, Regular Expression, Numeric Range, Date Range).
In Validation Parameter 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).



Name | Type | Category | Description |
---|---|---|---|
Retry Timeout [s] | Double | Input | determines behaviour if the activity fails to execute. value < 0: try executing once, 0: try indefinitely; value >0: time in seconds during which the activity repeatedly tries to execute (if time elapses without success then Result = False, end activity) |
Browser window name | String | Input | custom internal name Wizlink will use to identify the window |
Error Message | String | Input | 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: […]” |
Selector | String | Input | custom web selector |
Selector Type | Dropdown | Input | select a type of custom web selector from the dropdown list |
Text to Match | String | Input | checks whether inspected element contains given text (optional) |
Validation Parameter | String | Input | the template used by validating algorithm |
Validation Type | Dropdown | Input | select the appropriate option from the dropdown list |
Alternative Scenario If Failed | Boolean | Misc | checkbox; default is "on" |
Display Name | Literal | Misc | changes display name of the activity |
Exclude from Transaction Check | Boolean | Misc | checkbox; default is "off" |
Result | Boolean | Output | returns a Boolean value. True if no error in activity, otherwise will return False |
Result Code | Int32 | Output | Result Code will return 0 if there is no error in activity, otherwise in most cases will return 1. See the table of Extended Result Codes for more info |