Sunday 18 August 2013

Print Message in Result File in QTP

Fail Scenario –
Reporter.ReportEvent micFail, “Password edit box”, “Password edit box does not exist”
Pass Scenario-
Reporter.ReportEvent micPass, “Password edit box”, “Password edit box does not exist”
Warning Scenario- sed to send warning message to the test report and does not affect status of test.
Reporter.ReportEvent micWarning, “Password edit box”, “Password edit box does not exist”
Information- Used to send message to the test report and does not affect status of test.
Reporter.ReportEvent micDone, “Password edit box”, “Password edit box does not exist”

No comments:

Post a Comment