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
How are values assigned to the variables in the vbscript language?
What are the 2 ways in which a variable can be declared in the vbscript language?
What is difference between vbscript and vba?
Explain the arrays in vb script?
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
What is dictionary object in vbscript? Explain?
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.
How will you get the largest subscript of an array in vbscript?
Mention how to create a cookie using vbscript?
Which object provide information about a single runtime error in a vbscript?
How will you convert a string to lower case string using vbscript?
Explain few date functions in vbscript?
How to Convert Hex color code to color name in VB Script?
What is select case statement?
How to declare an array in vbscript?