Interview Question : What is Reporter.ReportEvent ?
Answer : Reporter.Reportvent is standard method provided by QTP to send custom messages to the test results window. Syntax Reporter.ReportEvent EventStatus, ReportStepName, Details [, ImageFilePath] where EventStatus = 0 or micPass 1 or micFail 2 or micDone 3 or micWarning Results can assume any status like Pass , Fail , Warning etc. You can also send screenshot to the test results window.
Interview Question Category : QTP
|