Facebook

For any corporate training requirements Please mail To sudhakar@qtpsudhakar.com
New Schedule in MindQ Systems, Madhapur By SUDHAKAR
Course Name Date Time Duration Type Branch
Selenium+Appium 16th October 2017 7.30 AM - 9.00 AM IST 45 Days ClassRoom + Online Mind Q Madhapur
Selenium+Appium 30th October 2017 9.30 AM - 11.00 AM IST 45 Days ClassRoom + Online Mind Q Madhapur

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.

https://www.facebook.com/Qtpsudhakarblog/app_128953167177144

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

2 comments :

  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"

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

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

      Delete