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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How are values assigned to the variables in the vbscript language?

568


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

563


What is difference between vbscript and vba?

606


Explain the arrays in vb script?

583


Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?

517






What is dictionary object in vbscript? Explain?

622


I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.

1784


How will you get the largest subscript of an array in vbscript?

601


Mention how to create a cookie using vbscript?

525


Which object provide information about a single runtime error in a vbscript?

597


How will you convert a string to lower case string using vbscript?

553


Explain few date functions in vbscript?

612


How to Convert Hex color code to color name in VB Script?

3927


What is select case statement?

596


How to declare an array in vbscript?

666