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   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Scripts  >>  VB Script
 
 


 

 
 PHP interview questions  PHP Interview Questions
 ASP interview questions  ASP Interview Questions
 CGI Perl interview questions  CGI Perl Interview Questions
 JavaScript interview questions  JavaScript Interview Questions
 VB Script interview questions  VB Script Interview Questions
 JSP interview questions  JSP Interview Questions
 Shell Script interview questions  Shell Script Interview Questions
 Python interview questions  Python Interview Questions
 Tcl interview questions  Tcl Interview Questions
 Awk interview questions  Awk Interview Questions
 AJAX interview questions  AJAX Interview Questions
 Ruby on Rails interview questions  Ruby on Rails Interview Questions
 Scripts AllOther interview questions  Scripts AllOther Interview Questions
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 ?    0 Yes 0 No
Chinmaya Khatua
 

 
 
 
Other VB Script Interview Questions
 
  Question Asked @ Answers
 
give me an ex. of unoverloaded method? Misys2
How to write a general script which should does the following a). If a page object is given, it should identify the page object of the corresponding page(site). b). It should identify all the links of that particular page. in QTP tool? Infosys2
in qtp we ve datatable look like excel ,if we want to extract data from excel which saved in my documet how can i get that in datatable using vb script  1
Hi, I need to accept user inputs for login at runtime.I know i can use Inputbox but how to proceed further that i dont know. Thanks in advance  2
How will you generate Reports using Vb Script?it asked in testing(QTP)Interview.Plz Any Body Let me know. Thanks uday Uday_testing@yahoo.co.in NIIT4
how to declare a variable in vbscript using vbscript  2
How to check the particular window is exist or not with out using check points  1
how to retrive the tooltip by using descriptive programming in qtp? iGate1
we executed QTP scripts in one browser(i.e IN)same scripts is working on another browsers or not (i.e mean netscap,m azol..like ) Accenture5
can any body give the code to write the function for given suppose user login with usrer id and pwd to yahoomail.after cliking "sign in"if it is valid user id the next page will display userid'message box.( Note u have to use excel sheet to retrive the userid's data) Bally-Technologies1
What is parametrization ?  8
what is visual basic? Seion-Infotech2
how to write basic programs in VB Script like addition, multiplication?  3
How can you have different number of cells for each row of a table in HTML?  2
When importing an excel file that has several columns each with different number of rows into QTP's Global datatable, how can you count the number of rows in a particular column? McGraw-Hill1
When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?  1
How do you write an SQL insert statement? HCL1
plz give ans to this in vb script........ "krishna radha" i want to print this string "Radha Krishna" like this  3
Hello All, In QTP 9.2 for Mozilla Firefox, there is webelement in my application, I tried to click on that using decsriptive programming, but it does not work. and for this i tried this code too: Set obj = CreateObject ("Mercury.DeviceReplay") absx = Browser("").Page("").WebElement(".").GetROProperty ("abs_x") absy = Browser("").Page("").WebElement(".").GetROProperty ("abs_y") obj.MouseMove absx, absy obj.MouseClick absx, absy, 0 But it is not clicked. Can anyone help me out for this problem. Thnx in Advance  1
How to load vbs functions in qtp  1
 
For more VB Script Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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