Forum Discussion

zgibanez's avatar
zgibanez
Occasional Contributor
11 months 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
    11 months 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. Select the desired option

    4. Click on the i icon

    5. Link the TestComplete log to the test result

    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.

    Your screen will look like this.

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

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

    And your logs will look like the one from TC itself


    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!