Forum Discussion

SmartUrsula's avatar
SmartUrsula
Occasional Contributor
8 years ago

Extracted Log Index.htm won't load

Hey all, I'm currently trying to get the log to open as HTML but am having problems. When I extract the Log.MHT file that I export, I get a folder with all the log contents, but opening the index.HTM file leads me to the screen that I have attached. It never loads so I cannot see any of the information. Does anyone know how to fix this? Thank you.

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

    If you're exporting from the menu, you'll see the choice below.  Try choosing Multipart Hypertext Storage so you'll just get a .mht file instead of separate files.  Then you can open that one file in IE and view your log.

     

    • SmartUrsula's avatar
      SmartUrsula
      Occasional Contributor

      I'm integrating the tests into TeamCity so I am using the command line to run the tests and exporting the log as an MHT file. However, in order to be able to see them within TeamCity they need to be in HTM/HTML format. But thank you for your help!

      • sanjay0288's avatar
        sanjay0288
        Frequent Contributor

        What is the command line utility are you running? There might be problem with the command line. You can write a sample piece of code to save the results as HTML in testcomplete and add it to "OnStop Test" event handler.

         

        Please find attached snapshot using which I was able to open the index.html file.