Analyzing Test Results & Reporting
Analyzing the Test Result is not a responsibility of QTP. After Running Tests, User (Test Engineer) has to analyze the test result. and send defect reports.
Note: QTP doen't provide batch wise test result, if we execute test batches. It provides test wise result only.
QTP has 4 types of result status
For defining our own results, QTP is providing an utility object called "Reporter"
by using reporter, we can define our own results.
Reporter.ReportEvent status of the Result,"Result Step","message"
Reporter.ReportEvent micPass,"Res","Login operation Successful"
Reporter- Utility object
micPass-Status of the Result.
"Login operation Successful"- Message
Status of the Result:
1) Pass -micPass or 0
2) Fail -micPass or 1
3) Done- micDone or 2
4) Warning- micDone or 3