what is the purpose of the Reporter.ReportEvent in QTP and
also please give the brief description about
Reporter.ReportEvent ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / mady
By using this method we can report the user defined results in results window.
Syntax:
Reporter.ReportEvent Status,StepName,Description,Bmpfile
| Is This Answer Correct ? | 10 Yes | 4 No |
Answer / navin.k
actually the def of Reporter Utility object is
used for sending the user defined steph to the result window
with the help of "reportevent" method ]
Syntax :
Reporter.ReportEvent Status,"RepoterName","Details"
Example :Reporter.RepoterEvent 1,"myapp","sub operation is
not successful."
Status:
0=Passed
1=Failed
3=Done
4=Warnig
| Is This Answer Correct ? | 12 Yes | 8 No |
Answer / pinks
You can use Reporter.ReportEvent to report custom test
steps in QTP's test results tree
Syntax -Reporter.ReportEvent EventStatus, ReportStepName,
Details [, ImageFilePath]
Event Status can have values
0 or micPass sends a pass status to test result window
1 or micFail sends a pass status to test result window
2 or micDone sends a message to test result window without
affecting the Pass/Fail status
3 or micWarning sends a warning message to the result window
| Is This Answer Correct ? | 6 Yes | 3 No |
Can automation testing find ssame no. of bugs what we can find by manual testing?
What is the differene between QTP 8.2 and QTP 9.0 and QTP 9.1,Pls give me answer ASAP.
why variable name should not exceed 255 characters?
when we use filter funtiom invb script(QTP)
What are the naming conventions while declaring a variable in the vbscript language?
what is the object hyrarchy in QTP for a web based application
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
Mention how to access array data?
give me an ex. of unoverloaded method?
Explain the adodb.stream class?
Hi I am having one folder with set of text files now i want to read and write that text files data into QTP. Any help plsss.
accept an email id & validate it .email id should not exceed 25 characters the mail id should contain 3 characters excluding domain name,@ and .(dot) the last 3 characters of the domain should be net,com or org