Selected test content
- When missing: Specifies what happens if the selected test content is missing. The default is Warn.
- Fail: Generates an error in the logs and fails the Agent.
- Warn: Generates a warning in the logs and continues the Agent.
- Ignore: Skips child commands and moves to the next command.
- When hidden or disabled: Controls selection based on whether an element is visible and enabled.
- Select: Selects visible and disabled elements that match the XPath.
- Ignore: Selects only elements that are present and enabled—that is, elements that match the XPath and are interactive.
- Selected test content: Displays the selected test content as non-editable HTML so that you can inspect the selected test element.
Test settings
- Assert selected content: Defines the condition to evaluate. The available conditions test for existence, equality, pattern matching, containment, or comparison.
- Exists: Returns true if the selection exists on the page.
- Exists And Not Empty: Returns true if the selection exists and is not empty.
- Not Exists: Returns true if the selection does not exist.
- Not Exists Or Empty: Returns true if the selection does not exist or is empty.
- Equals: Returns true if the value in the selection equals the passed value.
- Not Equals: Returns true if the value in the selection does not equal the passed value.
- Matches: Returns true if the passed value matches the value in the selection, based on a pattern or exact match.
- Not Matches: Returns true if the passed value does not match the value in the selection.
- Contains: Returns true if the passed value contains the value in the selection.
- Not Contains: Returns true if the passed value does not contain the value in the selection.
- Starts With: Returns true if the passed value starts with the value in the selection.
- Not Starts With: Returns true if the passed value does not start with the value in the selection.
- Ends With: Returns true if the passed value ends with the value in the selection.
- Not Ends With: Returns true if the passed value does not end with the value in the selection.
- Greater Than: Returns true if the passed value is greater than the value in the selection; use this for numerical comparisons.
- Greater Than Or Equals: Returns true if the passed value is greater than or equal to the value in the selection.
- Less Than: Returns true if the passed value is less than the value in the selection; use this for numerical comparisons.
- Less Than Or Equals: Returns true if the passed value is less than or equal to the value in the selection.
- Exit on Failure: Determines whether the Agent fails when the condition is not met.
- Custom Failure Message: Specifies an optional message to print when the condition fails.
- Report Success: Prints a success message when the condition is met.
- Custom Success Message: Specifies an optional message to display when the condition succeeds.