Forum Discussion

gtaub's avatar
gtaub
Occasional Contributor
2 years ago

MHT Report creation post script execution automatically

Use Case: We are executing tests using scripts and would like to have the MHT report automatically generated at the end of the full testing cycle.   Can someone please share how we can do this? We ...
  • rraghvani's avatar
    2 years ago

    I use a PowerShell script to run my entire automation, which fetches the latest source files from TFS; kills any existing web browsers; executes TC and runs the execution plan of the project suite; finally, summary result is emailed to the team.

     

    The email summary looks like this,

    They then click on a link that takes them directly to the detailed results (.mht results)

    The script is called by Task Scheduler on a weekly basis.