December 8, 2021

How to build a .Net Core selenium project in Azure release pipeline

  December 8, 2021

 If we are using only .Net framework for the selenium test project creation, we can directly use Visual Studio Build Task and Publish Artifact task to build the solution in Azure.

But if our project is made of .Net Core, we may need to do an extra step to complete the build.

The extra task we may need to add will .Net Core publish


We can enable/disable the Zip Packaged project based on our convenience.

We can add the name of the folder in the Arguments section .We can also mention configuration as Release/Build etc

Eg: --configuration  $(BuildConfiguration) -o $(Build.ArtifactStagingDirectory)/MyTests

logoblog

Thanks for reading How to build a .Net Core selenium project in Azure release pipeline

Previous
« Prev Post

No comments:

Post a Comment

Fixing javascript error: Cannot read properties of null (reading 'querySelector') issue when using CSS identifier in selenium

 JavaScript is another way to interact with web elements when normal selenium methods fail to act. But one issue with javascript is, it does...