<?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[QA Tech Hub - Medium]]></title>
        <description><![CDATA[Education is the most powerful weapon which you can use to change the world. And, we at QA Tech Hub aspire to change your world through extensive training and guidance. Established in 2016, QA Tech Hub is your doorway to the future you strive for. - Medium]]></description>
        <link>https://medium.com/qa-tech-hub?source=rss----c9ce8817f02---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>QA Tech Hub - Medium</title>
            <link>https://medium.com/qa-tech-hub?source=rss----c9ce8817f02---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 16:36:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/qa-tech-hub" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Project Setup — Selenium WebDirver with Java]]></title>
            <link>https://medium.com/qa-tech-hub/project-setup-selenium-webdirver-with-java-4e978daa5fe?source=rss----c9ce8817f02---4</link>
            <guid isPermaLink="false">https://medium.com/p/4e978daa5fe</guid>
            <category><![CDATA[selenium-webdriver]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[selenium]]></category>
            <dc:creator><![CDATA[Saurabh Dhingra]]></dc:creator>
            <pubDate>Tue, 06 Jun 2023 10:21:31 GMT</pubDate>
            <atom:updated>2023-06-06T10:38:07.454Z</atom:updated>
            <content:encoded><![CDATA[<h3>Project Setup — Selenium WebDirver with Java</h3><p>Selenium test automation tool comes as a library in various language bindings like Java, PHP, Javascript, C#, and Python.</p><p>In this tutorial, we will set up a project for Selenium with Java programming language.</p><p><strong>Pre-requisite —</strong></p><ol><li>JDK and JRE installed. (<a href="https://www.oracle.com/java/technologies/downloads/">Download and install JDK </a>)</li><li>JAVA_PATH set as an environment variable on your system</li><li><a href="https://www.eclipse.org/downloads/">Eclipse IDE</a> or <a href="https://www.jetbrains.com/idea/download/">IntelliJ</a>, or <a href="https://code.visualstudio.com/Download">Visual Studio code</a></li><li><a href="https://maven.apache.org/download.cgi">MAVEN</a> installed and setup on the system</li><li><a href="https://git-scm.com/downloads">GIT</a> installed and configured on the system</li><li>TestNG plugin installed in your IDE</li></ol><p><strong>To install the TestNG plugin in Eclipse, follow the following steps –</strong></p><ol><li>Navigate to Help &gt;&gt; Market Place</li><li>Search for “TestNG” and select “TestNG for Eclipse”</li><li>Click Install, accept the license</li><li>Restart the Eclipse.</li></ol><p><strong>Maven project setup on Eclipse —</strong></p><ol><li>Open Eclipse, create a new project (File &gt;&gt; New)</li><li>Select Maven project, click Next</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mFj69s4erSQ9TsIlThnrLw.png" /></figure><p>3. Select “Create a simple project” and click Next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yaJLk82iJSCHU7IHxtH9Wg.png" /></figure><p>4. Enter Group Id; this is your organization id. Example — “com.qatechhub”</p><p>5. Enter artefact Id; this is the name of your project. Example — “LearningSelenium”. Click Finish</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nY5e70hwSRk0xiscStdwmA.png" /></figure><p>6. Next step, right-click “JRE System Library” &gt;&gt; properties &gt;&gt; change “execution environment” to JDK 11 (or the latest version). Apply and close.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/1*4mThJUalUM3_fpuchYKU_g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R-oxsCs_vFH_JnItIjyReA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HcVo9hk6cLNFgq8pXvIdGA.png" /></figure><p>7. In pom.xml, copy and paste the below dependencies and save. This will download the libraries and dependencies in your project.</p><p>&lt;dependencies&gt;</p><p>&lt;! — <a href="https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java">https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java</a> &gt;</p><p>&lt;dependency&gt;</p><p>&lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt; &lt;artifactId&gt;selenium-java&lt;/artifactId&gt; &lt;version&gt;4.1.1&lt;/version&gt;</p><p>&lt;/dependency&gt;</p><p>&lt;! — <a href="https://mvnrepository.com/artifact/org.testng/testng">https://mvnrepository.com/artifact/org.testng/testng</a> → &lt;dependency&gt;</p><p>&lt;groupId&gt;org.testng&lt;/groupId&gt;</p><p>&lt;artifactId&gt;testng&lt;/artifactId&gt; &lt;version&gt;7.5&lt;/version&gt; &lt;scope&gt;test&lt;/scope&gt;</p><p>&lt;/dependency&gt;</p><p>&lt;/dependencies&gt;</p><p>This completes the project setup. We have created a MAVEN project and added all the dependencies required to this project.</p><p>If you have any questions or queries in setting up the project. Please reach out to saurabh@qatechhub.com</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e978daa5fe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/qa-tech-hub/project-setup-selenium-webdirver-with-java-4e978daa5fe">Project Setup — Selenium WebDirver with Java</a> was originally published in <a href="https://medium.com/qa-tech-hub">QA Tech Hub</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction To Selenium Test Automation Tool]]></title>
            <link>https://medium.com/qa-tech-hub/introduction-to-selenium-test-automation-tool-3fd051c113f6?source=rss----c9ce8817f02---4</link>
            <guid isPermaLink="false">https://medium.com/p/3fd051c113f6</guid>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[selenium-webdriver]]></category>
            <category><![CDATA[selenium-test-automation]]></category>
            <category><![CDATA[selenium]]></category>
            <dc:creator><![CDATA[Saurabh Dhingra]]></dc:creator>
            <pubDate>Tue, 06 Jun 2023 07:05:55 GMT</pubDate>
            <atom:updated>2023-07-25T15:26:49.838Z</atom:updated>
            <content:encoded><![CDATA[<p>Selenium automates browsers; that’s it! What you do with that power is up to you. You can use this tool to do administrative tasks like filling timesheets, web scraping, or the Selenium automation tool to test web applications. (Source — <a href="https://selenium.dev/">Selenium official website</a>)</p><p>Selenium test automation tool is a library in various language bindings like Java, PHP, Javascript, C#, and Python. It can automate the user actions like clicking, entering text in the fields, etc.</p><p>To use Selenium, as a test automation tool, is integrated with testing frameworks like TestNG or JUnit (for Java), NUnit (for C#), Pytest(for Python), and Mocha framework (for javascript).</p><p>All these testing frameworks provide a way to create, maintain and execute test cases; assertions mark test cases as pass or fail based on the testing criteria.</p><h3>Components of Selenium</h3><p>Selenium is not just a single tool but a suite of tools. It can majorly be classified into three components —</p><ol><li>Selenium IDE</li><li>Selenium WebDriver (version 4)</li><li>Selenium Grid</li></ol><p>PS: previously, there were four, and Selenium RC is wholly deprecated now.</p><h3>Selenium IDE</h3><p>Selenium IDE comes as a plugin (or extension) and is available for both “Chrome” and “Firefox” browsers. This tool provides mechanisms to record your test cases and replay them. It also provides the capability to extract the code in Selenium Webdriver format in different language bindings (Java, C#, PHP, Python, Ruby, etc.). Even though it’s an excellent tool, it has many limitations in automating and testing complex scenarios.</p><h3>Selenium WebDriver (version 4)</h3><p>Selenium WebDriver (version 4) is the most critical component of Selenium and can automate all complex UI scenarios in the language of your choice.</p><h3>The architecture of Selenium 4.</h3><p>Selenium 4 communicates with the browser via the browser driver using the <strong><em>w3c protocol</em></strong>. The browser driver comes as an executable file and differs for different browsers.</p><h3>What is W3C (World Wide Web Consortium)?</h3><p>The W3C (World Wide Web Consortium) is an international organization that creates standards for the world wide web. The WC3 is committed to improving the web by setting and promoting web-based standards.</p><p>The W3C’s goal is to create technical standards and guidelines for web technologies worldwide. These standards are intended to keep a consistent level of technical quality and compatibility concerning the World Wide Web. Developers who create web applications can have confidence in the tools they’re using, as experts have vetted web applications using these standards.</p><p>An example of a W3C standard is <strong>web browsers</strong>. Most use W3C standards, which enables them to interpret code such as Hypertext Markup Language (HTML) and Cascading Style Sheets (CSS).</p><p>Now coming back to the architecture of Selenium 4.</p><p>The browser driver communicates with the respective browser via HTTP protocol.</p><p>All three components, browsers (chrome, firefox, edge, etc.), browser driver (comes as executables), and Selenium client libraries, are w3c complaints. Until Selenium 3, all the communication happened over the <strong>JSON wire protocol.</strong></p><p>W3C stands for World wide web consortium. W3C standards define an <strong>Open Web Platform</strong> for application development with the unprecedented potential to enable developers to build rich interactive experiences powered by vast data stores available on any device.</p><p>Selenium being a W3C complaint, improves stability and provides better and fast communications since they all speak the same language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tvbodFPfVUetW_0k5WZIvQ.png" /></figure><p>Selenium 4 architecture design</p><h3>Selenium Grid</h3><p>Selenium Grid is another component from selenium suites of the library that is used to execute tests in parallel on the same machine or different machines. This reduces the time of execution and reduces the feedback loop.</p><p>It can also be integrated with containerization tools like docker to make the execution of tests faster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pjnc2iwcFRmnhKJnfT8T5Q.png" /></figure><p>Selenium Grid</p><h3>Features of Selenium test automation tool</h3><p>Some of the features that made Selenium famous are —</p><ol><li><strong>Open source</strong>, it’s completely free to use, no cost involved.</li><li><strong>Multiple language support</strong>, choose your language to work with Selenium. Selenium library comes in different languages (Java, Python, Perl, Ruby, PHP, C#, Javascript)</li><li>Selenium can work on almost all operating systems with multiple platform support, be it Windows, Mac, or Linux.</li><li><strong>With multiple browser support</strong>, Selenium works with all the major browser vendors like Chrome, Edge, Firefox, Safari, and all other modern-day browsers. Many cloud solutions, like Labda test, browser stacks, etc., can be used for responsive testing or browser compatibility testing.</li><li><strong>Easy integrations</strong>, Selenium integrates well with other libraries (reporting libraries like ExtentReport, Allure reporting, etc.) and frameworks like testing frameworks (TestNG, JUnit, PyTest, NUnit, etc.)</li><li><strong>Community support,</strong> Selenium has been in the market for more than a decade now, and so is its community. There are 100s of people out there to help you with your queries. You can find these people on Stackoverflow, Github, etc.</li><li><strong>Learning support,</strong> Many good courses (free or paid), and other resources are available all over the internet to help you learn Selenium.</li></ol><h3>Limitations of the Selenium automation tool</h3><p>Selenium is a great tool, but it has a lot of limitations —</p><ol><li>It can only automate web applications, <strong>not desktop applications.</strong></li><li><strong>No API testing support; it</strong> can only automate the user actions on web applications but the APIs. There are modern test application tools like Cypress that can help automate not only UI but also API.</li><li><strong>No performance testing support</strong>, Selenium is not a tool for performance testing and should not be used for it.</li><li><strong>No image testing support; Selenium</strong> does not have the capabilities to test images.</li></ol><p>Thanks for reading this article where we discussed what Selenium is. Features of Selenium, different components of Selenium, and limitations of Selenium.</p><p>If you have any questions, reach out to <a href="/service/mailto:learn@uptut.com">s</a>aurabh@qatechhub.com</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3fd051c113f6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/qa-tech-hub/introduction-to-selenium-test-automation-tool-3fd051c113f6">Introduction To Selenium Test Automation Tool</a> was originally published in <a href="https://medium.com/qa-tech-hub">QA Tech Hub</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>