what is the purpose of the Reporter.ReportEvent in QTP and
also please give the brief description about
Reporter.ReportEvent ?
Answer Posted / chinmaya khatua
The Main purpose of Reporter.ReportEvent in QTP is it is a
Reporting Machanism in Qtp.
It means Reports an event to the test results.
Syntax
Reporter.ReportEvent EventStatus, ReportStepName, Details
[, Reporter]
EventStatus:-Status of the report step:
0 for MicPass
1 for MicFail
2 for MicDone
3 for Mic Warning
ReporterStepName:-Name of the intended step in the report
(object name).
Details:-Description of the report event. The string will
be displayed in the step details frame in the report.
Example
The following examples use the ReportEvent method to report
a failed step.
Reporter.ReportEvent 1, "Custom Step", "The user-defined
step failed."
or
Reporter.ReportEvent micFail, "Custom Step", "The user-
defined step failed."
Is This Answer Correct ? | 83 Yes | 9 No |
Post New Answer View All Answers
Which command is used for writing text on a page?
How to pass argument by reference to a function in vbscript?
What is vbscript procedures?
how does vb script help in web page designing? explain with example.
What is purpose of scripting.filesystemobject class in vbscript?
How will you convert a string to upper case string using vbscript?
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
What are the 2 ways in which a variable can be declared in the vbscript language?
Does VB/Win make standalone .EXE files?
Which data type/types are supported by vbscript language and what are their specialties?
write any ttest cases using check points and parameterization
What is the use of option explicit in vbscript?
please can you help me to get a code of flames using a visual basic 6
How to assign a numeric value to a variable?
What is vbscript language used for and which earlier language is it modeled upon?