Forum Discussion

NikhileshJ's avatar
NikhileshJ
Occasional Contributor
25 days ago

TestComplete Reporting using Azure DevOps

We are using TestComplete/Execute with Azure Desktop and running tests as Part of a Pipeline, it by default gives attaches the .mht file to the specific tests results. Recently I started facing issue in opening the .mht file. Is there any way to change the results file format keeping in mind I want to stick to the same approach to attach results to each failed test not as artifact. Thanks!

    • NikhileshJ's avatar
      NikhileshJ
      Occasional Contributor

      Yes, it works but I have to unblock the results file every time from the file properties, which is kind of tedious :)

      • rraghvani's avatar
        rraghvani
        Icon for Champion Level 3 rankChampion Level 3

        That's due to your policy settings, which is preventing the file from opening. I suggest you speak to your IT, to prevent MTH from being blocked.

    • scot1967's avatar
      scot1967
      Regular Contributor

      The .mht files don't work in Edge without some changes to the settings.  They don't open in anything but Edge.  I had to set the windows settings to force .mht files to open with Edge as well.  I am running, Edge Version 124.0.2478.105 (Official build) (64-bit) and had to ensure 'Internet Explorer mode' was set up properly to open .mht files in Edge.  If you share these report files everyone else will need to do the same.

      edge://settings/defaultBrowser

      Personally I think this is a pain and needs to be updated to a better format. 

       

  • scot1967's avatar
    scot1967
    Regular Contributor

    DevOps has a fairly nice report of it's own. Have you looked into that?  It will really depend on what you need the reports for.  The pipeline run also stores the raw log file you can copy and import into TestComplete for a full test log for debug and analysis purposes.