Working with Azure DevOps

Overview

Opkey now supports Azure DevOps Services and Azure DevOps Server. As Microsoft has changed Visual Studio Team Services as Azure DevOps Services and Team Foundation Server as Azure DevOps Server so we have also changed our backend APIs and mechanism to support Azure DevOps Services as well as Azure DevOps Server with Opkey. Visual Studio Team Services and Team Foundation Server were already supported by the Opkey. You can now configure Azure DevOps Services with OpKey and work on it. By using Azure, you can map your project artifacts to log new bugs, map bugs with the test case, update status of logged bugs and do more.

Make sure that you have registered your account on Microsoft Azure DevOps (https://azure.microsoft.com/).

Working With Azure DevOps Server




  • Here are some existing projects.




  • Let us create a new project.
  • Click on Create Project. Fill all required fields and click on Create.



  • A New Project (named as RSP_Test) has been created successfully.




  • Now, you need to install Opkey Azure DevOps Extensions. Navigate to the Manage extensions, as shown below. Click on Browse Marketplace.




  • Type Opkey in the search bar.
  • Here are three Opkey Extensions as Opkey Test, Opkey CI, and Opkey Execution Stats.
  • Install all three extensions one by one.



  • Click on External Tool Integration under the Tools menu.




  • Here, you can have a look at the existing external tools supported by the Opkey.
  • Check the UseForTestManagement checkbox corresponding to the Azure DevOps Extension for Opkey and click on the Configure button.




Now enter your Azure DevOps credentials and click on the login button.

Note - Enter the token as the password



  • Select your Project, check the Linked To Opkey Project checkbox, and click on the Configure button.



  • From here, you can configure your workflow.
  • Select desired values from the dropdown and click on Save.



  • Let us map a Test Case with the Test plan and Bugs of Azure DevOps.
  • Right-click on the Test Case and then click on Azure DevOps Mapping.




  • Azure Devops filter appears.
  • Select the required filter fields and click on Search.





  • Here is the test plan existing in the selected project. Let us map it with the test case so that it can be updated as per the test case execution status.
  • Select the Test Plan and click on Apply Mapping Changes.



  • A message “All Mappings Successfully Saved” appears.
  • Click OK.




  • Execute the mapped Test Case. In the execution wizard,check the checkbox to show advanced settings and click on Next.



  • Make sure that the “Update Mapped Test Management Artifact” checkbox is checked from the Advanced execution settings.




  • Have a look at the execution logs and click to view the test result.



  • The test case fails.





  • Mapped Test Plans have been updated whereas a new bug has been logged.
  • Have a look at the updated Test Plans and new bug logged.





  • Have a look at the details of the new bug logged on test case failure.



  • You can look at the Execution Stats here.




  • Here, you can have a look at the execution attachment link.




  • From here, you can download attachments.





Executing Opkey Suites on Azure DevOps

Azure DevOps, integrated with Opkey, now allows you to execute your Suites directly from the Azure DevOps environment.

Let us see how to execute a Suite of Opkey from the Azure Devops environment.

  • Log in to the Microsoft Azure DevOps (https://dev.azure.com/) with your valid credentials.
  • Navigate to the Pipelines tab from the left pane.
  • Click on New pipeline under New to create a new pipeline.






  • Select Test as Repository, master as Default branch for manual and scheduled builds and click on Continue.



  • From here, click on Empty job as a template to proceed.





Configure your job from here.




  • Click on Save & queue under Save & queue.




  • Save your build pipeline and queue.
  • Click on Save & run to proceed.



  • The build has been executed successfully.




  • Here, you can have a look at the build details.






Click Here to learn more about Opkey features.

To learn more about Azure Devops integration within opkey, you can visit https://university.opkeylms.com and enroll in our Opkey series course.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article