selenium

How to run selenium test in different browser with docker

Reading Time: 4 minutes In the post, we have to elaborate how to run the Selenium test with Docker and execute both in Chrome and Firefox browsers. And We will also understand why we should run The Selenium tests in Docker? Basic Points There are few Basic Points that need to start the and install the docker Basic Point Of Docker : we can understand the high level of Continue Reading

Integrating Selenium with Concourse CI

Reading Time: 5 minutes Hi all, As we all may know, CI/CD has taken a very crucial place in the software development industry. Along with our development code, it is very important to integrate our automated tests with CI/CD as well. Hence, this blog aims to throw some insights on integrating our Selenium tests with concourse ci. So, let’s get started. What is Concourse CI? Just like any other Continue Reading

Selenium with Tesseract – Image Testing

Reading Time: 4 minutes Hi folks, In this blog, we will try to explore how to test the content of an image(basically, text in the image) using a combination of selenium and tesseract. So, let’s get started. What is Tesseract? Tesseract OCR is an open-source optical character reading engine developed by HP laboratories. It contains two OCR engines for image processing – an LSTM (Long Short Term Memory) OCR engine and Continue Reading

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