Category Archives: Selenium Java

JUnit 5 parallel test execution

AutomationSelenium JavaTutorial

Parallel Testing With JUnit 5 And Selenium [Tutorial]

Parallel test execution with Selenium is one of the major factors that can affect the test execution speed. Serial execution in Selenium can be effective only if the tests have to be run on a small number of browser and OS combinations.

September 11, 2021

view count123913 Views

Read time15 Min Read

JUnit 5 Extensions

AutomationSelenium JavaTutorial

JUnit 5 Extensions : A Detailed Guide

JUnit is one of the most popular unit testing frameworks in the Java ecosystem. The JUnit 5 version (also known as Jupiter) contains many exciting innovations, including support for new features in Java 8 and above.

August 3, 2021

view count248704 Views

Read time20 Min Read

Handle Cookies in Selenium

AutomationSelenium JavaTutorial

How To Handle Cookies in Selenium WebDriver

Most of us use online platforms for doing things like online shopping, bill payments, ticket booking, and more. These online platforms (or websites) use cookies to identify whenever there is a new visit.

July 28, 2021

view count269926 Views

Read time11 Min Read

JUnit Test Using TestNG

Selenium JavaAutomation

How To Run JUnit Selenium Tests using TestNG

Both JUnit and TestNG are popular unit testing frameworks that have been widely accepted by Java developers. JUnit was introduced as an open-source unit testing framework for Java way back in 1997. In fact, JUnit is one of the widely used test automation frameworks for test automation.

July 27, 2021

view count193840 Views

Read time15 Min Read

HTTP request header

AutomationSelenium JavaTutorial

How To Modify HTTP Request Headers In JAVA Using Selenium WebDriver?

One of the most common test automation challenges is how do we modify the request headers in Selenium WebDriver. As an automation tester, you would come across this challenge for any programming language, including Java.

June 23, 2021

view count108013 Views

Read time13 Min Read

TestNG vs JUnit

AutomationSelenium Java

TestNG vs JUnit: Which testing framework should you choose?

A test automation framework is a set of components that facilitates the execution of tests along with reporting the results of the test execution. However, the discovery of the right test automation framework can be super-challenging since there are so many options at your perusal.

May 24, 2021

view count109702 Views

Read time14 Min Read

execute-junit4-tests-with-junit5

Selenium JavaAutomationTutorial

How to execute JUnit 4 tests with JUnit 5 [Tutorial]

Introduction to JUnit JUnit is a powerful framework for Selenium test automation that has been popularly used by developers to perform unit testing.

April 26, 2021

view count128872 Views

Read time13 Min Read

CI/CDSelenium JavaTutorial

How To Generate TestNG Reports In Jenkins?

TestNG is an open-source automated testing framework, where ‘NG’ of TestNG is Next Generation. It is similar to JUnit but designed to be better than JUnit, especially when testing integrated classes.

February 4, 2021

view count72240 Views

Read time16 Min Read

Group Test Cases In TestNG

AutomationSelenium JavaTutorial

How To Group Test Cases In TestNG [with Examples]

TestNG is an open-source automation testing framework inspired by JUnit and NUnit. The framework supports data-driven testing, parallel test execution, testing integrated classes, provides access to HTML reports, amongst others.

December 21, 2020

view count149941 Views

Read time16 Min Read

Run Junit Tests From The Command Line

Selenium JavaAutomationTutorial

How To Run Junit Tests From The Command Line?

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on JUnit Tutorial. JUnit is one of the most popular Java-based open-source frameworks used for testing every unit of the application, i.e., classes and methods. And for automating the testing of web applications, you can use it … Continue reading How To Run Junit Tests From The Command Line?

November 19, 2020

view count124437 Views

Read time19 Min Read