<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Yuvraj Rajput on Medium]]></title>
        <description><![CDATA[Stories by Yuvraj Rajput on Medium]]></description>
        <link>https://medium.com/@yuvi228?source=rss-6e4def39d55d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Pw8L9BlORkvfe5E0Vubl_g.png</url>
            <title>Stories by Yuvraj Rajput on Medium</title>
            <link>https://medium.com/@yuvi228?source=rss-6e4def39d55d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 15:06:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yuvi228/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Automating Selenium Tests on Azure DevOps Pipelines: Step-by-Step Tutorial]]></title>
            <link>https://medium.com/simform-engineering/automating-selenium-tests-on-azure-devops-pipelines-step-by-step-tutorial-d8db496d951c?source=rss-6e4def39d55d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8db496d951c</guid>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[pipeline]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[azure-devops]]></category>
            <dc:creator><![CDATA[Yuvraj Rajput]]></dc:creator>
            <pubDate>Thu, 03 Oct 2024 12:44:16 GMT</pubDate>
            <atom:updated>2024-10-04T10:45:30.987Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Learn how to set up a pipeline for </em><strong><em>running automated tests with Selenium in Azure DevOps</em></strong><em> and configure scheduled triggers to automate test execution.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jwwoCDcHVEgD9ScEXwzxPQ.png" /></figure><p>Before diving into the step-by-step guide, it’s essential to address a few fundamental questions about integrating Selenium tests with Azure DevOps Pipelines:</p><ul><li><strong>What is Azure DevOps?</strong><br>Azure DevOps is a cloud-based service by Microsoft that provides a complete suite of DevOps tools to support the entire application lifecycle, from planning to code, building, testing, and deployment. It offers an integrated set of services, including version control, build automation, and continuous delivery.</li><li><strong>Why Use Azure DevOps for Selenium Tests?</strong><br>Azure DevOps Pipelines enable you to automate the execution of Selenium tests as part of your CI/CD pipeline. This ensures that your tests run consistently with every code change, improving code quality, speeding up feedback, and enhancing overall productivity.</li><li><strong>When Should You Integrate Selenium with Azure DevOps?</strong><br>Integrating Selenium with Azure DevOps should be considered when your project requires automated testing as part of your continuous integration or continuous deployment process. This is particularly useful in scenarios where rapid and reliable testing is critical.</li><li><strong>Who Should Use This Setup?</strong><br>This setup is ideal for QA engineers, developers, and DevOps professionals looking to automate their Selenium tests in a scalable and efficient manner within their Azure DevOps pipelines.</li><li><strong>How Does the Integration Work?</strong><br>The integration involves configuring Azure DevOps to trigger your Selenium tests automatically using Maven or other build tools, setting up continuous integration, and analyzing the results directly from the DevOps dashboard.</li></ul><h3><strong>Setting Up Selenium Maven with Azure DevOps Pipelines</strong></h3><p>Begin by navigating to the Azure DevOps URL and creating a free account. Sign in using your Microsoft credentials, which will redirect you to the Azure DevOps Project console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/1*kfrfIGKvXWLf0TzMGD4i-A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*LJqgCrYf8vzn43kuIf4-hA.png" /></figure><ul><li>Click on the “New Project” button, which will open a form for project creation. You will also be prompted to create an organization — enter a unique organization name and select the region closest to your location.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Bc8HtU1nuU8UbrH03w4KA.png" /></figure><ul><li>Next, specify the project name and description. You may also choose the visibility settings for the project, either public or private. Once the details are filled out, click the “Create” button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*03rzlqqdB1rjQN6cSvrS4A.png" /></figure><ul><li>After creating the project, you will be directed to the Project Summary page, where you can manage your project. From here, you can invite team members to collaborate on the project.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J0P8t72qcVOSRBYhRHDsaw.png" /></figure><ul><li>Navigate to the “Pipelines” menu and select the option to create your first pipeline by clicking the “Create Pipeline” button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WyukV786RnK0LZOmV2cnMA.png" /></figure><ul><li>Opt for the classic editor by clicking on the “Use the classic editor to create a pipeline without YAML” link.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vIqhvDW2YHbrtwj_gFLGKA.png" /></figure><ul><li>In the classic editor, you will be presented with multiple repository options such as “Azure Repos Git”, “GitHub”, “GitHub Enterprise Server”, “Subversion”, and “Bitbucket Cloud”. Select the appropriate repository based on your project requirements.</li><li>After selecting your source, enter the Connection Name and click on Authorized using OAuth.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3uNfySSvmF0axX0oCU1ffg.png" /></figure><ul><li>Once selected, authorize the connection via OAuth, which will prompt a GitHub login window.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*blhiJZPn2pHUBayoy1HDSw.png" /></figure><ul><li>After entering your credentials, select the desired repository and branch from the dropdown list, then proceed by clicking “Continue.”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/905/1*CySX2qktnj3kU16tI6s-Dg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9VfYCkgxiwioez9vT7YFDg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kadx00V5-yD3NvGafeSnjg.png" /></figure><ul><li>After selecting the repository and branch, choose the appropriate job template. For a Maven project, select “Maven” and apply the template.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*nh1BVxJfoX4yXHDDlNWEHA.png" /></figure><ul><li>In the “Tasks” tab, locate the “Pipeline” section. From the “Agent Specification” dropdown, choose the operating system that suits your project requirements. (Note: Do not modify other settings unless necessary.)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*AHUI_7e3J22CnXmJsC_Wiw.png" /></figure><ul><li>Within the “Tasks” tab, configure the Maven settings under the “Maven POM.xml” section. Set the goal to “clean install” and ensure that the test result files (**/surefire-reports/TEST-*.xml) are auto-detected. (Note: By default, the pipeline processes JUnit reports; TestNG results are not supported natively.)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*uu0gIeUhIxB0vPIRB_rO5A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*2C49FF8e4bMCsezXUN8k6g.png" /></figure><ul><li>Save the Maven configuration and initiate the pipeline run by navigating to the pipeline and clicking the “Run Pipeline” button. A pop-up window will allow you to select the operating system for execution.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rcDk3-Dx_V_Fw8WPqdeU2g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*DQWyYkMAJmsQF8qlzjpvfw.png" /></figure><ul><li>During execution, the “Agent Job” console will display the build status, showing either “Pass” or “Fail,” depending on the outcome of your test cases.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MJ-uqjG8BHERL04xwurSTQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WZW-y0zJmnKrn_alwUoZfg.png" /></figure><ul><li>Once the test execution is complete, navigate to the “Tests” tab to review detailed information on each test case.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-ASp-GbVU3Yyrs_G9m_hGw.png" /></figure><p><strong>Trigger Configuration</strong></p><ul><li><strong>Continuous Integration</strong>: In the “Triggers” tab, enable the “Continuous Integration” checkbox and select “Batch changes while a build is in progress.” This setup will automatically trigger the pipeline whenever code is pushed to the repository.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*jLrleR5uCk8vY6HTU1W7EQ.png" /></figure><ul><li><strong>Pull Request Validation</strong>: Under the “Pull request validation” section, enable the checkbox for pull request validation and choose “Build pull requests from forks of this repository.” This ensures that the pipeline automatically triggers whenever a pull request is created.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/907/1*OSOFIraX1CmhPwJIQJMNGg.png" /></figure><ul><li><strong>Scheduled Builds</strong>: To schedule builds, go to the “Scheduled” section under “Triggers” and click the “Add” button. Configure the scheduler based on your desired build frequency.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*kbSh-adqVlVH8m_IB3b1Yw.png" /></figure><h3><strong>Conclusion</strong></h3><p>Integrating Selenium tests with Azure DevOps Pipelines can significantly streamline your development and testing workflows. By automating the execution of your tests as part of your CI/CD process, you can ensure faster feedback, consistent quality, and higher efficiency across your software development lifecycle.</p><p>Throughout this guide, we’ve explored how to set up a pipeline, configure it for Selenium testing, and enable various triggers for automation. With Azure DevOps, you’re not just running tests — you’re building a robust, scalable, and automated testing ecosystem that supports your continuous integration efforts.</p><p>By implementing these steps, your teams can detect issues early, reduce manual efforts, and improve overall product quality. As you continue to optimize your pipelines, the benefits of Azure DevOps will become even more apparent, helping you achieve smoother and faster releases with confidence.</p><p><em>Happy Testing…</em></p><blockquote><strong>For more updates on the latest tools and technologies, follow the </strong><a href="https://medium.com/simform-engineering"><strong>Simform Engineering</strong></a><strong> blog.</strong></blockquote><blockquote><strong>Follow Us: </strong><a href="https://twitter.com/simform"><strong>Twitter</strong></a><strong> | </strong><a href="https://www.linkedin.com/company/simform/"><strong>LinkedIn</strong></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8db496d951c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/simform-engineering/automating-selenium-tests-on-azure-devops-pipelines-step-by-step-tutorial-d8db496d951c">Automating Selenium Tests on Azure DevOps Pipelines: Step-by-Step Tutorial</a> was originally published in <a href="https://medium.com/simform-engineering">Simform Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>