reporter.reportevent method problem
I am newbie to QTP.
When i use reporter.reportevent method it prompting error that object not available. Is repoter object is to be created before using it. This equivalent of report_msg in winrunner function. Please send a sample script
to print user message in results window.
Thanking you in advance.
Re: reporter.reportevent method problem
The reporter does not need to be created, it is part of the QTP application. The use is similar to winrunner:
Reporter.ReportEvent micPass,"Test Message","test Message Details"
the micPass parameter can be replaced with micFail or micDone depending on what type of message you wish to send to the report.
I hope this helps