Forum Discussion

zgibanez's avatar
zgibanez
Occasional Contributor
3 years ago
Solved

TestExecute and Azure Pipelines: Understanding and upgrading test result format

Hi there,   I have set up a Pipeline as part of a build. The test is executed successfully on the self-hosted agent, which has a TestExecute license and a ".trx" file is produced.   I have notice...
  • Luukdb's avatar
    3 years ago

    Hi Zgibanez,

     

    I had the same issue for logging as you do until I found the setting below.

    1. When editing a pipline, go the the TC test adapter installer.
    2. Search for the "Save logs for" option.
    3. Luukdb_0-1685440909157.png

      Select the desired option

    4. Luukdb_1-1685440944312.png

      Click on the i icon

    5. Luukdb_2-1685440982543.png

      Link the TestComplete log to the test result

    6. Luukdb_3-1685441017985.png

    After you run the pipeline you will get the logs just as in TestComplete itself. To find the logs open the pipeline who is finished and select the "Tests" tab.

    Luukdb_4-1685441126788.png

    Your screen will look like this.

    Luukdb_5-1685441150109.png

    Small tip: select the aborted filter en select the passed filter. This way you will also see the logs of passed tests.

    Luukdb_6-1685441213362.png

    Select the testrun below, and in the attachments tab you will find the logs, and you will be able to download the logs.

    Luukdb_7-1685441300327.png

    And your logs will look like the one from TC itself

    Luukdb_8-1685441335758.png


    I am not sure if you are able to customize this outcome but this is way more detailed then the log created by Azure itself.


    I hope this is what you are looking for!