Customized Html Reporting available for download.
You just need to use reporter.reportevent to send results to html.
With just one statement you can send results to Html and to QTP result page. Click below link to download.
https://www.facebook.com/Qtpsudhakarblog/app_128953167177144
Don't forget to share it with your testing friends.
Hi Sudhakar,
ReplyDeleteThanks for sharing such a valuable content. I think it would better if we optimize GetExecutionTime function as below.
Function GetExecutionTime(StartTime,EndTime)
GetExecutionTime = DateDiff ("s",StartTime - EndTime)
End Function
And instead of 'cHTMLFileName=Environment("TestName")&replace(date,"/","_")&"_"&replace(time,":","_")&".html"
we can write cHTMLFileName=Environment("TestName")&Replace(Replace(now,"/","_"),":","_")&".html"
That's good. It's not minus. use comma.
DeleteFunction GetExecutionTime(StartTime,EndTime)
GetExecutionTime = DateDiff ("s",StartTime, EndTime)
End Function