Category Archives: Selenium Java

JUnit Test Using TestNG

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 Selenium test automation.

Ruchira Shukla
July 27, 2021
Selenium Java • Automation •
Element is not clickable at point

How To Deal With “Element is not clickable at point” Exception Using Selenium

Any automation testing using Selenium (or Cypress) involves interacting with the WebElements available in the DOM. Selenium test automation framework underpins a diverse set of locators that are used to identify and interact with any type of element on the web page.

Shalini Baskaran
July 13, 2021
Automation • Selenium Java •
HTTP request header

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.

Harshit Paul
June 23, 2021
Automation • Selenium Java •
TestNG vs JUnit

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.

Ruchira Shukla
May 24, 2021
Automation • Selenium Java •

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.

Shalini Baskaran
April 26, 2021
Selenium Java • Automation •

How To Handle Login Pop-up In Selenium WebDriver Using Java?

Have you ever been asked for credentials while accessing a website on a browser? Let us understand why we are asked to fill up the credentials while accessing a few websites.

Shalini Baskaran
March 23, 2021
Selenium Java • Selenium Webdriver •

9 Of The Best Java Testing Frameworks For 2021

The fact is not alien to us anymore that cross browser testing is imperative to enhance your application’s user experience.

Ritesh Shetty
March 13, 2021
Selenium Java •

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
CI/CD • Selenium Java •
Group Test Cases In TestNG

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.

Himanshu Sheth
December 21, 2020
Automation • Selenium Java •
How To Setup JUnit Environment

How To Setup JUnit Environment For Your First Test?

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on JUnit Tutorial. JUnit is a popular Java-based, open-source framework that is primarily used for unit testing. It can be used with Selenium for testing websites and web applications. Annotations in JUnit are used for identifying test … Continue reading How To Setup JUnit Environment For Your First Test?

Himanshu Sheth
December 7, 2020
Automation • Selenium Java •