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

Explain the extension .hta?

629


Explain about adodb.stream class?

698


How to create a cookie using vbscript?

683


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

2145


What are class events?

661






What is loose binding? Why is it not a good practice to use it?

735


How will you get the natural logarithm of the given number in vbscript?

686


What are lbound and ubound in the vbscript language?

704


Which function allows you to instantiate an object given its programmatic identifier or progid?

647


In html file what is an ideal position to include vbscript?

934


If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?

1659


wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......

1578


Explain about filter expression?

658


Both Static and dynamic arrays are handled by VB script. Is it true?

699


How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

3372