Category Archives: Selenium Java

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 count201452 Views

Read time17 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 count117439 Views

Read time14 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 count116777 Views

Read time14 Min Read

execute-junit4-tests-with-junit5

Selenium JavaAutomationTutorial

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

This article is a part of our Learning Hub. For more in-depth resources, check out our hub on JUnit Tutorial. JUnit is a powerful framework for Selenium test automation that has been popularly used by developers to perform unit testing.

April 26, 2021

view count139534 Views

Read time14 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 count87614 Views

Read time18 Min Read

Group Test Cases In TestNG

AutomationSelenium JavaTutorial

How To Group Test Cases In TestNG [with Examples]

Chapters What Is TestNG Framework Install TestNG in Eclipse Create TestNG Project in Eclipse Create TestNG.xml File in Eclipse Using TestNG In Selenium First TestNG Automation Script Exception Tests in TestNG Parallel Test Execution in TestNG Assertions in TestNG Set Test Case Priority in TestNG TestNG Reporter Log Generating TestNG Reports Running JUnit Selenium Tests … Continue reading How To Group Test Cases In TestNG [with Examples]

December 21, 2020

view count162675 Views

Read time19 Min Read

Run Junit Tests From The Command Line

Selenium JavaAutomationTutorial

How To Run JUnit Tests From The Command Line?

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 with the Selenium WebDriver.

November 19, 2020

view count134785 Views

Read time20 Min Read

Dataproviders TestNG

AutomationSelenium Java

How To Use DataProviders In TestNG [With Examples]

In our earlier posts, we learned about using TestNG parameters in our TestNG scripts. To jog your memory, Parameterization In TestNG helps us pass data through the code and prevent hard-coding. However, TestNG parameters enable us to pass the values only once per execution cycle.

August 18, 2020

view count119892 Views

Read time9 Min Read

TestNG Project In Eclipse

AutomationSelenium Java

Create TestNG Project In Eclipse & Run Selenium Test Script

TABLE OF CONTENTS Create TestNG Project In Eclipse Creating a TestNG class in Eclipse Writing Our First Test Case Using Selenium and TestNG TestNG Reports and Results Frequently Asked Questions (FAQs) Chapters What Is TestNG Framework Install TestNG in Eclipse Create TestNG Project in Eclipse Create TestNG.xml File in Eclipse Using TestNG In Selenium First … Continue reading Create TestNG Project In Eclipse & Run Selenium Test Script

July 31, 2020

view count109123 Views

Read time16 Min Read

Complete Java Testing with Selenium Tutorial: Guide to Java Automation

AutomationSelenium JavaSelenium TutorialTutorial

Complete Java Selenium Testing Tutorial: Guide To The Java Automation

Most companies measure the success of their digital marketing efforts using traditional approaches such as increased sales, ROI, and leads.

June 24, 2020

view count76369 Views

Read time20 Min Read