Selenium Python Test Integration With DevOps 1664819163
Selenium Python Test Integration With DevOps 1664819163
Selenium Python Test Integration With DevOps 1664819163
In this article, I am going to show you how to integrate your Python Selenium Tests to Azure
DevOps. You will also see how to trigger the tests on a particular time and execute them in
parallel.
Pre-requisites
Steps
2. Create a new project with the details shown below by clicking Create Project button
3. Once your project is created, go to the Pipelines from the left menu tree
6. We are going to use GitHub as our source. You can use the repositories mentioned here –
7. Once authorised your GitHub, select the repository and the default branch you need
tobuild –
12. Add the below Script to Run Python Tests Command Line task –
13. The below code needs to be added to publish the artifacts like reports –
14. This command is to publish the test results into Nunit format –
15. Use “HTML Viewer” task to display your report –
16. Configure the trigger option to run it on daily basis at 8 AM India Time –
Build Execution
Once all done click on “Save & Queue” button. As configured in Step 8, the tests will be
executed in Windows Agent.Test Report
Conclusion
What you have done till now is the Build Pipeline and there is a Release pipeline you can do
as well.