修改QTP测试结果的输出方式
不将测试结果记录到日志的语句。
对于已知是错误的验证点,在测试报告中能否记录通过,或者根本不记录:
Reporter.Filter = NewMode
The mode can be one of the following values:
Mode '模式
Descrīption '描述
0 or rfEnableAll
Default. All reported events are displayed in the Test Results.
1 or rfEnableErrorsAndWarnings
Only event with a warning or fail status are displayed in the Test Results.
2 or rfEnableErrorsOnly
Only events with a fail status are displayed in the Test Results.
3 or rfDisableAll
No events are displayed in the Test Results.
本文章来自中国IT实验室
页:
[1]