BTip's avatar
BTip
Occasional Visitor
8 months ago
Status:
New Idea

TestExecute- Update .mht log files

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.

11 Comments

  • scot1967's avatar
    scot1967
    Icon for Champion Level 2 rankChampion 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's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

    It still works fine with Microsoft Edge. You also have options to export to .html too.

    • ajeethsashi's avatar
      ajeethsashi
      Occasional 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's avatar
        rraghvani
        Icon for Champion Level 3 rankChampion 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.

    • ajeethsashi's avatar
      ajeethsashi
      Occasional 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's avatar
    scot1967
    Icon for Champion Level 2 rankChampion 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

  • ajeethsashi's avatar
    ajeethsashi
    Occasional 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's avatar
      rraghvani
      Icon for Champion Level 3 rankChampion 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's avatar
    scot1967
    Icon for Champion Level 2 rankChampion 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.html

    https://learn.microsoft.com/en-us/azure/devops/pipelines/test/test-analytics?view=azure-devops