Forum Discussion

enriquebravo's avatar
enriquebravo
Contributor
3 years ago

Configure Azure DevOps to store TestComplete Logs

Does anybody have any documentation or guidelines on how to setup the storage of logs when using Azure DevOps? I am still in the early stages of the setup process between Azure DevOps, GitHub and TestComplete. I could not find any documentation in the SmartBear portal regarding the topic of logs in Azure DevOps. I found a reference, but in only indicates that this need to be configured on Azure DevOps side.

If you have screenshots or any info on how/where and for how long will the logs be stored will be very useful.

 

Thanks in advance.

  • Hi enriquebravo!

     

    The first step here is to setup the 'Save logs for' option in the 'TestComplete test adapter installer' task. By default it is set to only bring in logs when tests fail. Setting this to 'All Tests' will allow you to get an .MHT file uploaded for each pipeline run.

     

    Once this has been setup you can access  your logs by clicking on 'Tests' from a pipeline run, click on the run itself, then select 'Attachments', this is where the .MHT file will be stored.

     

    I hope this helps!

  • Hi enriquebravo!

     

    The first step here is to setup the 'Save logs for' option in the 'TestComplete test adapter installer' task. By default it is set to only bring in logs when tests fail. Setting this to 'All Tests' will allow you to get an .MHT file uploaded for each pipeline run.

     

    Once this has been setup you can access  your logs by clicking on 'Tests' from a pipeline run, click on the run itself, then select 'Attachments', this is where the .MHT file will be stored.

     

    I hope this helps!

    • enriquebravo's avatar
      enriquebravo
      Contributor

      As usual your help is very useful and appreciated. Kind regards ğŸ˜€

  • Sorry if I am missing this somewhere but, is there a way to save additional attachments along with the .mht file as a separate attachment?

     

    Thanks