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 know we can do it manually after the tests complete by exporting the logs. we would like to have that happen automatically.
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.