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



what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description ..

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

what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description ..

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

what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description ..

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

what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description ..

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

Post New Answer

More VB Script Interview Questions

What is the technology used by vb script?

0 Answers  


What are subprocedures in vbscript?

0 Answers  


What are the 2 ways in which a variable can be declared in the vbscript language?

0 Answers  


1. How do declare public variable in vb scripts?

0 Answers  


I wrote the vbscript code on notepad i was geeting run time error "object required line 1" my code is set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signin("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Setsec ure.Crypt.Encrypt("entr password") browser("gmail").page("gmail").WebButton("siginobj").click pls tell me whats wrong

1 Answers  






What is parametrization ?

9 Answers  


How to write VB script for login module?

0 Answers  


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

0 Answers  


hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?

0 Answers   Livetek,


Is vbscript a case-sensitive or case-insensitive?

0 Answers  


Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.

0 Answers   CSC,


Hi, Anybody could tell me What is the 3rd Largest Number in the series..Thanks in Advance..

3 Answers   Amazon, bcbs,


Categories