QTP_Reporter

来源:互联网 发布:ic卡破解软件 编辑:程序博客网 时间:2024/05/21 21:30
ReportEvent Method: 
Reports an event to the report. 

Reporter.ReportEvent EventStatus, ReportStepName, Details 

EventStatus: 
0 or micPass: it will cause the status of this step to pass, and show 'Passed' to the 'Result' field of report; 
1 or micFail: it will cause the status of this step to fail, and show 'Failed' to the 'Result' field of report; 
2 or micDone: it will NOT cause the status of this step, and show 'Done' to the 'Result' field of report; 
3 or micWarnig: it will NOT cause the status of this step, and show 'Warning' to the 'Result' field of report;

ReportStepName: 
Name of step, you can define. It will show in 'Object' field of report; 

Details: 
Description of step, you can defile. It will show in 'Details' field of report
原创粉丝点击