Forum Discussion

m_essaid's avatar
m_essaid
Valued Contributor
11 years ago

Truncated text file comparisons...

Hi,

 

When I see my logs right on TestComplete executable, it seems to be ok.

But when I see the same log exported (.mht, or .htm...) I cannot read the whole files (see attachments please).

Even if I open it with IE, Firefox or Chrome.

 

Any help please ?

4 Replies

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

    My .mht file works fine in IE.  Have you tried dragging the edges of the frames around?  Maybe one of them got resized accidentally.

    • m_essaid's avatar
      m_essaid
      Valued Contributor

      Hi Marsha,

      Ty for answering,

      Well... I tried several sizes for the window, and it doesn't displays the whole comparison only for huges files...

      I'm really annoyed about this issue, because the only ways for me to see the complete comparison is to view it directly on TestComplete or to use WinMerge...

      Mehdi

      • This is a usability limitation in the generated MHT and unpacked formats.  Looks like it is set to compare no more than 5000 lines.

         

        If you want to play around with this, export to unpacked storage format and look at the text.js file that is generated.  In it, change the first line to increase the c_FilesCompare_MaxLineCount value.  Shift-Reload the browser page showing the log output.

         

        The current max of 5000 seems to be a reasonable value.  More than that and you start getting a usability issue where your browser will (appear to) hang while the script chugs away at generating the diff page.