For any corporate training requirements Please mail To sudhakar@qtpsudhakar.com
Course Name Date Time Duration Type Location
An important update from QtpSudhakar. I stopped giving classroom training in MindQ Systems. I have bigger plans and I want to put an end to regular classroom training because very less people are practicing. From now onwards every session of mine is going to have explanation and practice. Everyone should practice in presence of mine and should go out of classroom with practical knowledge. So I started my own institute AnyTechLabs in Madhapur. Please reach out to +91-8328152362 for course details. Visit AnyTechLabs.com for address details.
Selenium + Cucumber 24th October 7.30 AM IST to 9.00 AM IST 45 Days WeekDay Online

A book "Cracking the QTP interview" authored by Sudhakar.Read More. Buy From FlipKart

Monday, October 7, 2013

Html Results in QTP Framework

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.


Don't forget to share it with your testing friends.


  1. Hi Sudhakar,

    Thanks 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"

    1. That's good. It's not minus. use comma.

      Function GetExecutionTime(StartTime,EndTime)
      GetExecutionTime = DateDiff ("s",StartTime, EndTime)
      End Function