|
跟WR的tl_step差不多
就是
if value = 0 then
Reporter.ReportEvent 2, "密码输入框", "密码输入存在,通过测试."
Else
Reporter.ReportEvent 2, "密码输入框", "密码输入入框不存在,没有通过测试."
end if
注意以上所写的符号,还有数字
状态有四种:
0 or micPass: Causes the status of this step to be passed and sends the specified message to the report.
1 or micFail: Causes the status of this step to be failed and sends the specified message to the report. When this step runs, the test or component fails.
2 or micDone: Sends a message to the report without affecting the pass/fail status of the test or component.
3 or micWarning: Sends a warning message to the report, but does not cause the test or component to stop running, and does not affect the pass/fail status of the test or component. |
|