Reporter Object in QTP

This object is to send the information to the Test results.
  • Reports the status of test results ( pass, fail, warning)
  • Enable/Disable reporting of step(s) following the statement.
  • Retrieve the folder path in which the current test's results are stored.
  • Retrieve the run status at the current point of the run session.
Methods and Properties
ReporterEvent Method

syntax : Reporter.ReportEvent EventStatus, ReportStepName, Details

where EventStatus can be:
0 or micPass: If this step runs test passes which is shown in test report.

1 or micFail: If this step runs test fails which is shown in test report.

2 or micDone: Used to send message to the test report and does not affect status of test.

3 or micWarning: Again, used to send warning message to the test report and does not affect status of test.
and
ReportStepName is name of step
and
Details are the user defined details for the given step.


Filter property
RunStatus Property

comment 0 comments:

  • Recent Posts

     
    © QTPCode | Design by Blog template in collaboration with Concert Tickets, and Menopause symptoms
    Powered by Blogger