Forum Discussion

erikgt's avatar
erikgt
Occasional Contributor
25 days ago
Solved

How to open HTMLX and tcLogX files outputted by TestExecute

As per this topic, on a TestExecute Jenkins pipeline being aborted due to a (Jenkins-side) timeout, the test results are saved as per the project's 'save log every ... minutes' setting. However, the TestExecute Jenkins plugin subsequently fails to pick these log files up to display them. Is there a way I can view these resultant .htmlx and/or tcLogX files locally? 

Opening the tcLogX file with TestComplete itself doesn't seem to work, and similarly my browser (Firefox) doesn't seem to like the taste of HTMLX

  • Could you try with,

    Remove /ForceConversion and /ExportLog use .html and not .htmlx or .tclogx

    Also, does your automation require a UI or are you doing headless testing?

    FYI, to view a .tcLogX file, add it to your TestComplete project:

    1. In your project, right-click the Project_name Logs item in the Project Explorer and select Add > Existing Log File from the context menu.
    2. Navigate to the .tcLogX file using the standard Open File dialog and click Open.
    3. TestComplete will add the file to your project and you will be able to view it in the Test Log panel.

5 Replies

  • erikgt's avatar
    erikgt
    Occasional Contributor

    *as per this topic: https://community.smartbear.com/discussions/testcomplete-questions/testexecute-save-log-every-minutes/275823

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

      Could you try with,

      Remove /ForceConversion and /ExportLog use .html and not .htmlx or .tclogx

      Also, does your automation require a UI or are you doing headless testing?

      FYI, to view a .tcLogX file, add it to your TestComplete project:

      1. In your project, right-click the Project_name Logs item in the Project Explorer and select Add > Existing Log File from the context menu.
      2. Navigate to the .tcLogX file using the standard Open File dialog and click Open.
      3. TestComplete will add the file to your project and you will be able to view it in the Test Log panel.
      • erikgt's avatar
        erikgt
        Occasional Contributor

        Thanks.

        Will ask to set html to see if that works. I did find out that HTMLX is just archived HTML, so we can exctract it, open the index.html inside and view the results like that.

        /ForceConversion doesn't seem to matter; as per the docs:

        /ForceConversion - If this argument is specified and TestExecute is running in Silent mode, TestExecute automatically converts projects created in earlier versions of the tool to the new format when they are opened.



        We automate a desktop application, so require a UI.