report warning
Flag a warning and specify the warning description text.
Name | Description | Type | Modifier |
---|---|---|---|
text | Descriptive text to accompany the warning notice. | String | None |
None
This action may be used within the following project items: test modules and user-defined actions.
text
report This is a report
report error This is an error
report warning This is a warning
- This action increments the warning count for the test run.
- The contents of the text argument are displayed in the Log Information tab of the test results.
- If the notice level built-in setting is set to allow runtime warnings to pause testing, the standard warning message box is triggered by this action, and also displays the contents of the text argument.
- This action supports the <ignore> modifier. If the string
<ignore>
is present as the value of the argument, or the argument contains an expression that evaluates to<ignore>
, the action is skipped during execution.