report check
Register a Passed or Failed check result in the test results, accompanied by user-defined text.
Name | Description | Type | Modifier |
---|---|---|---|
result | The result of the report. Allowable values:
| Value Set | passed, failed |
description | Text to write out to the results. | String | None |
None
This action may be used within the following project items: test modules and user-defined actions.
variable
get operating system name os
 
condition
if #os="Microsoft Windows 7 Ultimate Edition, build 7600, 64-bit"
 
result description
report check passed check operating system of test machine
 
end if
If the verification succeeds, report check reports a Passed check, and displays the accompanying message in the Result Details tab of the test results:
- From the perspective of the test results, this action works just like any other check-type action, producing either a Passed or Failed result.
- Contents of the description argument are displayed in the Log Information tab of the test results.
- This action supports the <ignore> modifier. If the string
<ignore>
is present as the value of any of the arguments, or any argument contains an expression that evaluates to<ignore>
, the action is skipped during execution.