selenium

JavascriptExecutor in Selenium WebDriver

Reading Time: 4 minutes JavascriptExecutor is an interface provided by Selenium that gives a mechanism to execute JavaScript through Selenium WebDriver. It provides two methods such as “executeScript” & “executeAsyncScript” to run JavaScript on the currently selected frame or window or page. There are scenarios where the actual Webdriver commands will not work efficiently as expected and this is where JavaScriptExecutor comes into the picture. As JavaScriptExecutor is a Continue Reading

TestNG setup using Maven for Selenium

Reading Time: 3 minutes Definitions TestNG (Test Next Generationis) is an open source testing framework. TestNG is inspired from JUnit and NUnit. It is an improvised framework which makes it more powerful and easier. It provides the developer to write more powerful and flexible tests with the help of easy annotations, sequencing, grouping and parametrization. We can use TestNG for generating reports. The reports generated will be of two types pass and fail. Continue Reading

Jenkins Integration: Selenium Grid

Reading Time: 4 minutes Selenium Grid is a tool that we can use for testing, automating web applications, and run them on remote machines. We can run our tests to integrate them with CI/CD tools such as Jenkins. In this blog, we will see Jenkins Integration with Selenium Grid. Why is Jenkins integration required? Test automation helps us with continuous defects, errors, and bugs as early as possible. If Continue Reading

Automate drop-down menu and checkbox using Selenium 4.0

Reading Time: 3 minutes In the last blog, we saw how we can use locator strategies to find and use different elements for automating our projects. In this blog, we will see how we can automate the drop-down menu and checkbox using selenium 4.0. What’s the need for automating drop-down menu and checkbox? Nowadays most websites contain drop-down menus and check boxes to perform various interactions with the website. Continue Reading

Data-driven framework with selenium, Scala, and SBT

Reading Time: 4 minutes Hello everyone, in our last blog we saw that how we can execute ours test in headless mode and now in this blog we will see how we can achieve Data-driven framework with selenium, Scala, and SBT. Need for data-driven framework A data-Driven framework helps us in separating the test script logic and the test data from one another. It allows us to write test Continue Reading

Headless browser testing in selenium using HTMLUnitDriver

Reading Time: 3 minutes Selenium is being used by many major organizations across the world. Using selenium we can automate the GUI and see it run in real-time. But what if we just want to execute our tests without actually opening the web browser and the website or the web application? In this blog, we will see how we can do that using Headless browser testing in selenium using Continue Reading

Locator strategy using Selenium 4.0

Reading Time: 4 minutes In the last blog, we saw how we can setup a maven project in Selenium (Getting started with Selenium 4.0) and now we will see different Locator strategy using Selenium 4.0 Why Why Locators are required? When we go to any website it has multiple fields, buttons, forms, etc. We need to uniquely identify the elements present on the website in order to successfully automate Continue Reading

Getting started with Selenium 4.0

Reading Time: 3 minutes Selenium has been in the market for the past many years and has been dominating their competitors. In this blog, we will see how we can set up a selenium 4.0 maven project. We will be using Java as our primary language for coding. Setting up the project Create a new maven project in intellij. Give a name to your project and click on finish. Continue Reading

Karate Vs. Selenium

Reading Time: 3 minutes Hi there, This blog aims to throw some light on the comparison between Karate UI testing framework like Selenium. In this blog, we will try to explore both the frameworks and the shortcoming that we may or may not face while doing some hands-on work on these. Why Karate? Karate is a relatively new open source framework for testing Web services. Even though Karate is Continue Reading

Gmail Utility to extract mail body into spreadsheet

Reading Time: 5 minutes In this blog, we will discuss about a utility that allows us to read a Gmail mail body and then extract its content in spreadsheet using Selenium and Java. But before that, we should know about the prerequisites that we will need to set on our machine for the successful execution of the gmail utility. Tools and technologies used are following: Java  Selenium web driver Continue Reading

Selenium Grid – Architecture and Setup

Reading Time: 3 minutes Ever thought of improving the delivery timelines? Running selenium tests on the local machine is not a stopping point for automation test scripts, rather it should have enhanced capabilities to run multiple test scripts on different runtime environments and operating systems. Here comes the role of Selenium Grid What is Selenium Grid? Selenium grid is the concept of selenium where the code we write is Continue Reading

Date Picker Made-Easy using Selenium

Reading Time: 3 minutes What’s this blog all about? Folks, it’s selenium 3(stable) already! Thinking about how date picker works made me write this blog post! As a part of learning selenium webdriver, you all must have gone through different date pickers. Every e-commerce, banking, insurance, travel websites plus rewards and sales portals and other applications use different calendars for picking up the date. With the course of UI Continue Reading

Upgrading to Selenium 3 with Gecko Driver

Reading Time: 2 minutes In this blog I will be discussing about the latest version of selenium i.e Selenium 3 . To use selenium 3 , we need Gecko driver to run the test cases in Mozilla browser. So,the first question that arises in our mind is “What is Gecko?”  Gecko is the name of the layout engine developed by the Mozilla Project. … Gecko’s function is to read Continue Reading