Please update the current .mht log files produced by TestExecute when running tests via Azure DevOps pipelines to an updated format. The current .mht format requires a deprecated Internet Explorer web browser to view the files. Internet Explorer is unsecure and no longer supported.
TestExecute- Update .mht log files
11 Comments
- scot1967
Champion Level 2
The log results are saved in a file on the server used to run the tests. It's a pain but they can be found, copied and imported to an instance of TestComplete for analysis.
Example path.... \\Server\c$\agent\_work\r101\$\_TestComplete\SubFolder\Name...
- rraghvani
Champion Level 3
It still works fine with Microsoft Edge. You also have options to export to .html too.
- ajeethsashiOccasional Contributor
You are right but its not working in all machine always. every time i have to workaround that to enable IE mode sometimes even still wont work. only work in edge not in chrome or firefox.
second for every tests creating html results doesn't makes sense.- rraghvani
Champion Level 3
For it to work in other browsers other than Edge, you will have to install the appropriate extension, if it's available.
It's not widely used in todays mainstream for web development, and it can not be updated.
- scot1967
Champion Level 2
I know this is feature request and one I would also like to see, but this may be a helpful work around if you don't mind storing and sharing your log files on SmartBear's cloud.
https://support.smartbear.com/testcomplete/docs/testing-with/log/working-with/sharing.htmlhttps://support.smartbear.com/testexecute/docs/logs/share.html
- ajeethsashiOccasional Contributor
Yes, i am aware of this but the problem is while using Azure DevOps CI/CD its not possible one as it is manual work
- scot1967
Champion Level 2
I was referring to the TestExecute command line options. Could this be called from the pipeline run?
TestExecute.exe "C:\My Projects\MySuite.pjs" /run /p:MyProj /ShareResults:"C:\Logs\shared-log.txt" /SharedResultsName:NewTestResults /SharedResultsExpireIn:7
- ajeethsashiOccasional Contributor
good to hear but i am creating HTML Report. and publishing in pipeline. but MHT is only support to show the failure in DevOps Test.
For that Reason i am asking to improve it. because as it will very good feature- rraghvani
Champion Level 3
My understanding is that MHT (MIME HTML) is not a supported test report format in Azure Pipelines for the purpose of publishing results to the Test tab (via PublishTestResults@2). Azure Pipelines supports JUnit, NUnit, xUnit and VSTest (TRX). However you can publish MHT as build artifacts, to be downloaded
- scot1967
Champion Level 2
What I have done to is use the reports in Azure DevOps and avoid the issue entirely. ajeethsashi​ I am with you! I would love to see another format for test results that could be easily shared with our stake holders and management. They need to see these results. Managing all the html files and keeping a history is a challenge.
Currently the using the sharing option in SmartBear's cloud is as close as I can get to a simple point and click solution. This can be done in the pipeline using command line options in TestExecute. Azure has other options (I have used) but non-devs struggle with Azure. Even exporting tcLogX files in the Pipeline is really only useful for devs and testers that have a TestComplete license.
https://support.smartbear.com/testcomplete/docs/testing-with/log/working-with/exporting/index.htmlhttps://learn.microsoft.com/en-us/azure/devops/pipelines/test/test-analytics?view=azure-devops
- ajeethsashiOccasional Contributor
You are right..
Thanks for the Ken