selenium

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

Cucumber

Reading Time: 2 minutes Cucumber is a testing framework which supports Behaviour Driven Development (BDD) which is used to write acceptance tests for web application. It allows automation of functional validation in easily readable and understandable format (like plain English) to Business Analysts, Developers, Testers, etc. Cucumber was implemented in Ruby and then extended to Java framework. It supports to jUnit. Behavior Driven Development is extension of Test Driven Development. Cucumber Basic: Continue Reading

TestNG

Reading Time: 2 minutes ‘TestNG is a testing framework which is inspired by junit. It is the latest framework of selenium. it gives to complete freedom to write the testcases in group or dependent to the other method. NG  stand for ‘NEXT GENERATION’. testing of next generation. TestNG gives the lot of advantage over the other testing framework. 1-we  can run the parallel test cases using TestNG. 2-It gives Continue Reading

Extract Text from PDF file using Selenium Webdriver in Scala

Reading Time: < 1 minute If we want to verify PDF content during the testing  or you want to test the PDF file in scala then you have to follow these code because selenium webdriver does not provide the direct method to extract the text from PDF. First of all we have to add dependency for pdfbox in build.sbt libraryDependencies ++=  Seq( jdbc, ws, cache, “org.apache.pdfbox” % “pdfbox” % “1.8.2” Continue Reading