ALLInterview.com :: Home Page            
 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                      
Google
   
 
Categories >> Software >> Scripts >> VB Script
 
 


 

 
 PHP interview questions  PHP Interview Questions (658)
 ASP interview questions  ASP Interview Questions (251)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (174)
 VB Script interview questions  VB Script Interview Questions (338)
 JSP interview questions  JSP Interview Questions (99)
 Shell Script interview questions  Shell Script Interview Questions (158)
 Python interview questions  Python Interview Questions (5)
 Tcl interview questions  Tcl Interview Questions (19)
 Awk interview questions  Awk Interview Questions (6)
 AJAX interview questions  AJAX Interview Questions (24)
 Ruby on Rails interview questions  Ruby on Rails Interview Questions (21)
 Scripts AllOther interview questions  Scripts AllOther Interview Questions (48)
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  
 
  Re: what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description about Reporter.ReportEvent ?
Answer
# 1
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 ?    59 Yes 6 No
Chinmaya Khatua
 
  Re: what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description about Reporter.ReportEvent ?
Answer
# 2
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 ?    7 Yes 1 No
Mady
 
 
 
  Re: what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description about Reporter.ReportEvent ?
Answer
# 3
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 ?    8 Yes 5 No
Navin.k
 
  Re: what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description about Reporter.ReportEvent ?
Answer
# 4
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 ?    4 Yes 1 No
Pinks
 

 
 
 
Other VB Script Interview Questions
 
  Question Asked @ Answers
 
VBscript for QTP,best tutorial? Wipro 2
what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description about Reporter.ReportEvent ? CybAge 4
What variable can you use to share info across the whole application for one user?   2
Suppose by navigation I went from 1 st page to 5 page ,so Write a generic script for coming from any page to the 1st page and by executing where the page may be it will come to 1st page CybAge 1
* ** *** Please write a code to get output like above diagram? ple explain as it how the code works?   2
1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 how to find using vbscripting   1
Could Anybody tell me the VBscript for REVERSE an Integer int reverse(int num) Ex:246 to 642 Amazon 6
what is fire event method in qtp? TCS 1
Open Yahoo Login Page in that page Suppose i have 100 mails and i want to delete 10'th mail now give procedure & Coding For that Scenario AppLabs 4
How do you create a recordset object in VBScript?   3
write a vb script create 5 folders test1 test2 test3 test4 test5   3
How to use Text file (Notepad) as ur data source in QTP? Can u please provide some function code for it?   1
 
For more VB Script Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com