Forum Discussion

rajat1308's avatar
rajat1308
New Contributor
3 years ago
Solved

how to Integrate Zephyr Squad or Zephyr Scale with Azure DevOps.

I want to Integrate Zephyr Squad/Scale with Azure DevOps Pipeline , Because After running CI-CD pipeline on Azure Devops, it will generate results in the form of Excel file(.xlsx) & Screenshots(.png). so Now  Want to Send Test Results from Azure DevOps to Zephyr Squad/Scale.

 

To transfer your test-execution results from Azure DevOps  back to Zephyr Scale/Squad, what should I do can anybody suggest. 

Now I m following Zephyr Squad documention:- Continuous  Integration.

url: https://support.smartbear.com/zephyr-squad-cloud/docs/continuous-integration/integration-script.html

  • Hi rajat1308 

     

    As you can see in the documentation you will be specifying the results.xml file in the .bat or .sh file. 

     

    This is what will be collected and brought back to Zephyr Squad

     

    As long as the .xlsx and .png files are included in the .xml file then this should work. 

     

    In order to find this out open the .xml file and check for relevant tags in the file. 


    If they are not included in the .xml file, you will need to create a script which would automatically append the .xml file and add tags to it so that the .xml file generated from your executed framework includes these desired attachments into the .xml file that generated. 

     

    You could run a batch script in Azure after the build runs or run this within your framework aslong as your framework which is being executed by Azure dev ops allows additional batch/shells scripts to be executed. 

     

    KR

    Vinnie

2 Replies

  • Hi rajat1308 

     

    As you can see in the documentation you will be specifying the results.xml file in the .bat or .sh file. 

     

    This is what will be collected and brought back to Zephyr Squad

     

    As long as the .xlsx and .png files are included in the .xml file then this should work. 

     

    In order to find this out open the .xml file and check for relevant tags in the file. 


    If they are not included in the .xml file, you will need to create a script which would automatically append the .xml file and add tags to it so that the .xml file generated from your executed framework includes these desired attachments into the .xml file that generated. 

     

    You could run a batch script in Azure after the build runs or run this within your framework aslong as your framework which is being executed by Azure dev ops allows additional batch/shells scripts to be executed. 

     

    KR

    Vinnie

    • rajat1308's avatar
      rajat1308
      New Contributor

      I gone through your answer, I can try this, when I trigger my devOps pipeline so after execution of my python-selenium scripts, the test result in the form of Excel(.xlsx) & Screenshot(.png) will be in local driver which is Drive C. so from there I have to send result to Zephyr.

      - can you tell me any solution or any document/blog to follow, It will be helpful for me. 

      - can you also tell me how to add .xlsx &.png in .xml file, any blog or video link.