ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories >> Software >> Scripts >> VB-Script
 
 
 
Question
what is the purpose of the Reporter.ReportEvent in QTP and 
also please give the brief description about 
Reporter.ReportEvent ?
 Question Submitted By :: Narendra405
I also faced this Question!!     Rank Answer Posted By  
 
Answer
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."
 
0
Chinmaya Khatua
 
View All Answers
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com