ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Choosing Which Steps to Report During the Run Session

Choosing Which Steps to Report During the Run Session

原创 Linux操作系统 作者:ipqiaojj 时间:2009-03-14 11:07:07 0 删除 编辑

Choosing Which Steps to Report During the Run Session

You can use the Report.Filter method to determine which steps or types of steps are included in the Test Results. You can completely disable or enable reporting of steps following the statement, or you can indicate that you only want subsequent failed or failed and warning steps to be included in the report. You can also use the Report.Filter method to retrieve the current report mode.

The following report modes are available:



Mode

Description

0 or rfEnableAll
All events are displayed in the Test Results.
Default.
1 or rfEnableErrorsAndWarnings
Only events 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.


  • To disable reporting of subsequent steps, enter the following statement:
  • Reporter.Filter = rfDisableAll

  • To re-enable reporting of subsequent steps, enter:
  • Reporter.Filter = rfEnableAll

  • To instruct QuickTest to include only subsequent failed steps in the Test Results, enter:
  • Reporter.Filter = rfEnableErrorsOnly

  • To instruct QuickTest to include only subsequent failed or warning steps in the Test Results, enter:
  • Reporter.Filter = rfEnableErrorsAndWarnings

  • To retrieve the current report mode, enter:
  • MyVar=Reporter.Filter 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16792402/viewspace-567256/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-02-22

  • 博文量
    140
  • 访问量
    75117