Category Archives: Selenium Java

JUnit Test Using TestNG

Selenium JavaAutomation

How To Run JUnit Selenium Tests using TestNG

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on 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 … Continue reading How To Run JUnit Selenium Tests using TestNG

July 27, 2021

view count200534 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 count116363 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 count115903 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 count138186 Views

Read time13 Min Read

CI/CDSelenium JavaTutorial

How To Generate TestNG Reports In Jenkins?

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on TestNG. 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 count86214 Views

Read time16 Min Read

Group Test Cases In TestNG

AutomationSelenium JavaTutorial

How To Group Test Cases In TestNG [with Examples]

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on TestNG. 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 count161385 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 Learning Hub. For more in-depth resources, check out our 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 with … Continue reading How To Run JUnit Tests From The Command Line?

November 19, 2020

view count133657 Views

Read time19 Min Read

Dataproviders TestNG

AutomationSelenium Java

How To Use DataProviders In TestNG [With Examples]

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on TestNG. 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 … Continue reading How To Use DataProviders In TestNG [With Examples]

August 18, 2020

view count118580 Views

Read time8 Min Read

TestNG Project In Eclipse

AutomationSelenium Java

Create TestNG Project In Eclipse & Run Selenium Test Script

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on TestNG. In the last article, we installed TestNG in Eclipse and did some environment set up for the same. Subsequently, we saw how we could convert our existing Java projects into TestNG projects in Eclipse.

July 31, 2020

view count107727 Views

Read time9 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 count75231 Views

Read time20 Min Read