I want to write below code out side of the script. How can i write the function for report.reportevent
reporter.ReportEvent micPass, "Row Count Validation","Row Count matching with column header"
Please help me
Why do you want it to use outside the QTP script?
Buy the NEW QTP Descriptive Programming Unplugged Book
** Download QTP Unplugged 2nd Edition eBook for FREE **
where do u wish to write?. U can declare a reporter object in global scope and write functions to perform the same operations.
Winds of Change
as Ganesh pointed out write in a separate function and make calls to it by passing parameters.
when things gets harder ,the harder gets going