Reporter.ReportEvent使用

上一篇 / 下一篇  2014-05-23 16:31:46 / 个人分类:转载精华

  • You can use Reporter.ReportEvent to report custom test steps in QTP's test results tree

  • Syntax -Reporter.ReportEventEventStatus, ReportStepName, Details [, ImageFilePath]

  • Event Status can have values

    • 0 or micPass  sends a pass status to test result window
    • 1 or micFail sends a fail status to test result window
    • 2 or micDone sends a message to test result window without affecting the Pass/Fail status
    • 3 or micWarning sends a warning message to the result window

TAG:

 

评分:0

我来说两句

Open Toolbar