<?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 Renju Jose on Medium]]></title>
        <description><![CDATA[Stories by Renju Jose on Medium]]></description>
        <link>https://medium.com/@renjujose?source=rss-8392a05e8fa0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Renju Jose on Medium</title>
            <link>https://medium.com/@renjujose?source=rss-8392a05e8fa0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 08:33:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@renjujose/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[Selenium as an Automation Testing tool — Aye or Nay?]]></title>
            <link>https://medium.com/hackernoon/selenium-as-an-automation-testing-tool-aye-or-nay-fddb56527af1?source=rss-8392a05e8fa0------2</link>
            <guid isPermaLink="false">https://medium.com/p/fddb56527af1</guid>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[automation-testing-tool]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[regression-testing]]></category>
            <dc:creator><![CDATA[Renju Jose]]></dc:creator>
            <pubDate>Wed, 08 May 2019 20:19:46 GMT</pubDate>
            <atom:updated>2019-05-09T10:31:34.645Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<h3>Selenium for Test Automation — Yay or Nay?</h3><p>In this article, we’ll look at some of the aspects that led to the widespread adoption of Selenium as the de-facto standard for web automation. We’ll also check the scope for advancement and improvement in a Selenium-based test framework.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MjplwsNE9AEEh9tij_pKHg.jpeg" /><figcaption>Selenium — Automation Testing tool</figcaption></figure><p>“Selenium automates browsers. That’s it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes but is certainly not limited to just that. Boring web-based administration tasks can (and should!) be automated as well.”</p><p>As <a href="https://www.seleniumhq.org/">SeleniumHQ</a> states above, the primary use of Selenium has been to automate Web Applications for Testing purposes, and it has been doing the same for a decade or longer. From Selenium RC and Selenium IDE, it has grown to a full-blown Web Automation library that supports multiple browsers and Platforms.</p><p>Selenium has been around for a long time, and it is, without a doubt, a great tool. It has been serving Automation Testing needs of testers worldwide for quite a long time.</p><h3>Pros</h3><h4>1. Open Source/ No Licensing costs</h4><p>Selenium has no upfront licensing costs or payments to be made for its use since its freely available. It is also an open source project which allows for extension and modification of the base framework for one’s personal or professional usage.</p><h4>2. Language-independent</h4><p>Devs or QA Analysts working on a particular language don’t have to learn a new language just to start automating their tests using Selenium. Selenium provides official Language bindings with popular languages such as C#, Java, Ruby, JavaScript, PHP, and Python in addition to the unofficial language bindings available for other languages.</p><h4>3. Third-party Integrations</h4><p>Selenium does not restrict a QA’s choice of reporting tools, build systems or any other aspect of their development/testing stack. It integrates well with popular tools such as SauceLabs, Selenium-Grid, Extent, JUnit, and others.</p><h4>4. Parallel Testing</h4><p>Selenium supports parallel test executions by integrating with Selenium Grid which helps to considerably bring down the feedback time for test executions.</p><h4>5. Cross Browser and Platform-independent</h4><p>Selenium supports all popular web browsers such as Google Chrome, Firefox, Safari, Opera, etc. and works on all currently available operating systems platforms such as Windows, Mac, and Linux.</p><h4>6. Community Support</h4><p>Selenium is backed by a vast community of developers and testers who actively contribute to the tool and documentation.</p><p>These reasons make Selenium a great choice for automation testers in enterprises around the world. However, as time flows and technology advances, we need to adapt and adopt newer tools and technologies to keep pace.</p><p>One of the advancements that we can’t ignore is the impact of Artificial Intelligence. AI is being heavily adopted in all of fields and software test automation is one such field that can gain from it. Modern test automation frameworks need to leverage their capabilities better.</p><p>Now, let’s look into some other reasons that urge us to look for a better alternative to Selenium.</p><h3>Cons</h3><h4>1. High Initial Setup time and costs</h4><p>It is true that Selenium is free and there are absolutely no licensing costs involved. However, when it comes to ROI and Initial Cost, we need to think about a couple of other factors.</p><ul><li>The setup and configuration of a Selenium-based test framework take considerable time. That adds up to indirect costs.</li><li>For a team consisting of mostly manual testers, the members need to learn to programme or the company needs to hire a bunch of automation experts to automate using Selenium.</li></ul><p><strong>Proposed solution:</strong> Codeless test automation tools can help the manual testers step up to the automation game easily. Most of these tools come with zero initial setup time as well since they are hosted on the cloud.</p><h4>2. Not an all-in-one solution — The requirement for 3rd party bindings</h4><p>Selenium + TestNG/JUnit is not the complete, comprehensive solution to fully automate the testing of your web applications. You need different libraries(POI API, GSON, Extent Reports) to make it a complete solution for a testing framework. And managing multiple dependencies is difficult and extra maintenance work that everyone wants to avoid.</p><p><strong>Proposed solution:</strong> A good dependency management tool such as Maven, Gradle or NPM can make this task easier. Ant is outdated now and I wouldn’t suggest it since there are better solutions.</p><h4>3. The difficulty of managing local test infrastructure</h4><p>Parallel testing is very much possible with Selenium Grid — however, it is not always feasible to set up and manage a local infrastructure (test machines) since the requirements for devices vary with projects.</p><p><strong>Proposed solution:</strong> Using a cloud platform (IaaS) for the test environments would avoid the hassle.</p><h4>4. Eventually becomes a parallel development solution</h4><p>There’s a lot of complexity involved in bringing multiple things together to create an effective and highly functioning test automation ecosystem based on Selenium. It takes huge technical efforts and requires constant updates, improvements, and maintenance of the complete framework. Eventually, it becomes a parallel development project which small and medium-sized companies can not afford in the early stages.</p><p><strong>Proposed solution:</strong> Use a ready-to-use solution that delegates the maintenance to an external team so that the QA can spend more time on actual issues or bugs.</p><h4>5. Inability to integrate Continuous Testing/in-sprint automation</h4><p>With its code-based approach and high dependence on the UI, it is difficult for Selenium-based projects to shift the testing more to the left, which is required for continuous testing.</p><p><strong>Proposed solution:</strong> Frankly, I don’t have a solution for this issue with Selenium since the dependency on UI is a fundamental drawback and one of the ways to shift left would be to rely on API Tests from the beginning.</p><h4>6. No participation from non-technical resources</h4><p>In Continuous Delivery and DevOps, quality is everyone’s responsibility. But with the cryptic code-based approach, only programmers can participate in the test creation activities.</p><p><strong>Proposed Solution:</strong> Use a framework or tool that provides highly readable tests (to be read as BDD or TDD) and encourages the collaboration of team members.</p><h4>7. Lack of professional on-demand support for enterprise projects</h4><p>Even though the Selenium community is pretty helpful, you can’t always rely on community support for large scale enterprise projects which demand utmost privacy and quick resolution time.</p><p><strong>Proposed solution:</strong> Something similar to point 4.</p><h4>8. Solving automation/maintenance challenges</h4><p>There are no inbuilt solutions for specific tasks such as Flaky Tests due to dynamic UI, File handling, API Level tasks, OS-based popup handling, and Basic Authentication</p><p>Due to the heavy usage of AJAX and modern web development technologies, Test is not always very stable. Also, since the Test Scripts are code-based, Test Maintenance is a bit difficult.</p><p><em>Proposed Solution: Adding fallback logic that can handle these challenges with native Javascript code.</em></p><h4>9. Limited capabilities</h4><p>Having no built-in test management, test data management, or test reporting capabilities.</p><p><strong>Proposed Solution:</strong> Integrate with a third party test management tool and third-party libraries for test data management and test reporting.</p><p>These are some of the reasons that led us (our team at <a href="https://testsigma.com/">Testsigma</a>) to think about a new tool which can address all of these challenges. And we believe we have been quite successful in delivering the same. Check out to know more:</p><p><a href="https://testsigma.com/signup"><strong>Sign up for free</strong></a><strong> and try Testsigma now</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JLUaLHOxNBDNSLQ_1tyenA.png" /></figure><p><em>First seen at </em><a href="https://testsigma.com/blog/selenium-automation-testing-pros-cons/"><em>Pros and Cons of Selenium as an Automation Testing tool</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fddb56527af1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/selenium-as-an-automation-testing-tool-aye-or-nay-fddb56527af1">Selenium as an Automation Testing tool — Aye or Nay?</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Selenium 4.0 alpha released — What Test Automation Engineers can expect!]]></title>
            <link>https://medium.com/hackernoon/selenium-4-0-alpha-released-what-test-automation-engineers-can-expect-6c1838b79243?source=rss-8392a05e8fa0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c1838b79243</guid>
            <category><![CDATA[selenium-webdriver]]></category>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[testsigma]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[selenium-4-alpha]]></category>
            <dc:creator><![CDATA[Renju Jose]]></dc:creator>
            <pubDate>Wed, 08 May 2019 13:23:03 GMT</pubDate>
            <atom:updated>2019-05-14T12:40:36.527Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<h3>Selenium 4.0 alpha released — What Test Automation Engineers can expect!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/995/0*hhH0aGyeC_oBCc1y.png" /></figure><p>Selenium team has added Selenium 4.0alpha to <a href="https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java">mvnrepository</a> two weeks back(24th April) and that has created a buzz in the Automation QA Community.</p><p>The QA fraternity had been eagerly waiting for some of the features proposed in this release. The most significant of them would be the <a href="https://www.w3.org/TR/webdriver1/">W3C Standardization</a>. It would make the Framework much more stable and reduce some of the compatibility issues across different Web Browsers. Another beginner-friendly change that is coming with this major release is updated Documentation. After version 2, Selenium Documentation has not been thoroughly updated. The updated documentation would help the beginners, as well as the experienced, immensely.</p><p>We hope some of the drawbacks in the article <a href="https://testsigma.com/blog/selenium-automation-testing-pros-cons/">Pros and Cons of Selenium as an Automation Testing tool</a> will be handled by Selenium 4. Let us look at some of the prominent changes that we can expect from this release. And if you dig in the right place, you can see the complete list of changes in CHANGELOG or CHANGES file — <a href="https://github.com/SeleniumHQ/selenium">Selenium Github Repo</a></p><p>Note: This is not a complete list and I have deliberately omitted many of the underlying implementation and architectural changes that a regular QA Automation guy like me wouldn’t have to deal with on a daily basis 😀</p><h3>Architectural Changes</h3><h4>1. Now using W3C Protocol for Browser-driver Communications</h4><p>The earlier versions of Selenium used JSON wire protocol which required encoding and decoding of the API. Whereas, Selenium 4 will now use standard W3C Protocol to communicate between the driver and the browser. The advantage is that W3C protocol doesn’t require encoding or decoding the API and the tests will be able to directly communicate with the Browser.</p><h4>2. Compliant with W3C WebDriver Specifications</h4><p>Selenium 4 will be entirely compliant with W3C WebDriver standards and this will include the documentation as well. So, the updated documentation will cover detailed instructions for usage.</p><p>Also, The actions API has been revamped to conform with the WebDriver Spec.</p><h4>3. Removed support for few Browsers</h4><p>The team will remove native support for Opera and PhantomJS going forward. Still, the users who need to test Opera can rely on Chrome since Opera is based on Chromium(which Chrome is forked from) and for PhantomJS users can use <a href="https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/example/headless.js">Chrome or Firefox in headless mode</a>.<br>Selenium Server now no longer includes HtmlUnit by default.</p><h4>4. Optimized Selenium grid</h4><p>Alpha version of new Grid Server supports “standalone”, “hub”,<br>“node”, and completely distributed usage. Also, this new Grid Server can output logs in single-line JSON format to the stdout.</p><h4>5. Added limited support for Opentracing and Docker</h4><p>Basic support for OpenTracing landed. Use the — ext flag to the new Grid Server to provide the classpath to an OpenTracing implementation.</p><p>Selenium 4 will introduce Basic support for using Docker containers with the new Grid Server. More information will be available once the official documentation is released.</p><p>Check out<strong><em> </em></strong><a href="https://testsigma.com/signup"><strong><em>Testsigma</em></strong></a> to see how most of these things are already considered and made available to make Test Automation effortless.</p><h3>API changes</h3><h4>1. Changes to Window class</h4><ul><li><strong>All window manipulation commands are now supported — </strong>fullscreen() and minimize() methods will be added.</li><li><strong>Added driver.switchTo().parentFrame() — </strong>We can use it to go from the child frame to the parent frame directly.</li><li><strong>Added getRect() &amp; setRect() and removed getSize() &amp; getPosition() — </strong>The getRect() and serRect() methods retrieves and sets respectively, a rect describing the current top-level window’s size and position. This will replace the getSize() and getPosition() methods(a change that’s not too relevant in common usage)</li><li><strong>Added command to open a new window</strong></li></ul><h4>2. Changes to Builder class</h4><ul><li><strong>Added “setChromeService”, “setEdgeService”, &amp; “setFirefoxService” methods — setChromeService</strong> sets the service builders to use for managing the chromedriver child process when creating new Chrome sessions. The others do the same for their respective Browsers</li></ul><h4>3. Changes to chrome.Driver</h4><ul><li><strong>Added sendDevToolsCommand() — </strong>The sendDevToolsCommand() method sends an arbitrary devtools command to the browser and returns a promise that will be resolved when the command has finished.</li><li><strong>Added setDownloadPath() — </strong>The setDownloadPath() method sends a DevTools command to change Chrome’s download directory and returns a promise that will be resolved when the command has finished.</li></ul><h4>4. Changes to firefox.Driver</h4><ul><li><strong>Added installAddon(path) — </strong>The installAddon() method installs a new addon within the current session. This function will return an “id” that can be used to uninstall the addon using uninstallAddon().</li><li><strong>Added uninstallAddon(id) — </strong>Uninstall the Addon using ID.</li><li><strong>Added addExtensions()</strong> — Add extension to the automation session easily.</li><li><strong>Added setPreference() — </strong>Add preferences to the session.</li></ul><h4>5. Changes to Options/Capabilities class</h4><ul><li><strong>Options class now extends Capabilities class for Chrome, Firefox, IE, Safari.</strong></li><li><strong>Removed the Firefox.Profile class. All of its functionality is now provided directly by Firefox.Options.</strong></li><li><strong>setProfile() now only accepts a path to an existing profile</strong></li><li><strong>Removed static factory methods android(), ipad(), iphone(), opera(), phantomjs(), htmlunit(), and htmlunitwithjs(). Users can still manually configure capabilities for these, but their use is not recommended and they will no longer be surfaced in the API.</strong></li></ul><h4>6. Changes to Errors</h4><ul><li><strong>Added ElementClickInterceptedError</strong> — The Selenium code throws <strong>ElementClickInterceptedError</strong> when a click command cannot complete due to the click target being obscured by other elements on the page.</li><li><strong>Added InsecureCertificateError</strong> — The Selenium code throws <strong>InsecureCertificateError</strong> when a navigation event causes the browser to generate a certificate warning. An expired or invalid TLS certificate usually cause this.</li><li><strong>Added InvalidCoordinatesError </strong>— The Selenium code throws <strong>InvalidCoordinatesError</strong> when an interaction operation becomes invalid due to the passing of invalid coordinates.</li><li><strong>Added NoSuchCookieError </strong>— The Selenium code throws <strong>NoSuchCookieError</strong> when a named Cookie is missing in the cookie jar for the current document.</li><li><strong>Removed ElementNotVisibleError</strong></li><li><strong>Removed InvalidElementCoordinatesError</strong></li></ul><h4>7. Changes to WebDriver</h4><ul><li><strong>Removed touchActions — </strong>TouchActions<strong> i</strong>mplements actions for touch enabled devices such as doubleTap(), singleTap(), flick(), longPress(), scroll() e.t.c. This might have been moved to <strong>Appium library</strong> but can be confirmed only once the complete documentation is available.</li></ul><h4>8. Changes to Alerts</h4><ul><li><strong>Removed authenticateAs</strong></li></ul><h4>9. Others</h4><ul><li><strong>Revamped the actions API to conform with the WebDriver Spec</strong></li><li><strong>Element screenshotting might be added</strong></li><li><strong>Deleted many of the deprecated methods and classes.</strong></li></ul><h3>Better and standard Documentation</h3><p>One of the main issues that haunted the Selenium users was outdated documentation. The Selenium team had not updated the documentation since Selenium 2.0. With Selenium 4, they have updated Selenium’s official documentation to explain the latest changes and it conforms to W3C Standards now.</p><h3>Footnote</h3><p>While it’s great to see the improvements, it would be a hassle for small and medium-sized teams to read through the API docs, analyze the changes, and rectify the tests broken by the updates due to the considerable changes.</p><p>Many of the above-discussed changes have already been implemented by us in <a href="https://testsigma.com/"><strong><em>Testsigma</em></strong></a> prior to this release as per the feedback or request from our users. That’s one of the reasons why cloud-based scriptless tools like Testsigma is more suitable for such teams.</p><p>With a cloud-based tool like Testsigma, the updates will be reviewed internally and applied to all the customer’s tests automatically without any additional time, resources and efforts from the teams.<br><a href="https://testsigma.com/signup"><strong>Signup to Testsigma for free!</strong></a></p><p><em>Originally published at </em><a href="https://testsigma.com/blog/selenium-4-automation-engineer-expect/"><em>https://testsigma.com</em></a><em> on May 8, 2019.</em></p><p>If you have something to add, please feel free to leave a comment!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c1838b79243" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/selenium-4-0-alpha-released-what-test-automation-engineers-can-expect-6c1838b79243">Selenium 4.0 alpha released — What Test Automation Engineers can expect!</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>