Latest on TestNG

TestNG Tutorial
By Kuldeep Rana
TestNG is one of the most widely used open-source testing frameworks. In this tutorial, we will learn about different features of testNG – data driven ...

Timeout in TestNG – Fail Tests in case of Timeout
By Kuldeep Rana
The automation test suites have the tendency to take too much time in case the elements are not readily available for interaction. Also, in certain ...

Soft Assertion in TestNG
By Kuldeep Rana
Assertions in our test suites are required to validate the actual result with the expected result. The Assert class provided by TestNG provides a form of hard ...

Priority in TestNG
By Kuldeep Rana
In automation, many times we are required to configure our test suite to run test methods in a specific order or we have to give ...

Dependency in TestNG
By Kuldeep Rana
As a rule of thumb, each test method must be independent of other i.e. result or execution of one test method must not affect the ...

Rerun Failed Tests in TestNG
By Kuldeep Rana
In this post, we will learn to rerun failed test cases using TestNG. We will explore the two approaches to achieve this, namely – using ...

Running Selenium Tests in Parallel using TestNG
By Kuldeep Rana
Quite often in automation testing, we want to reduce the test execution time to get the test results as fast as possible. When we run ...

TestNG Annotations
By Kuldeep Rana
In this tutorial, we will be studying all the annotations of TestNG along with the different attributes supported. An annotation is a tag or metadata that ...

Selenium with Java Example
By Kuldeep Rana
Test automation requires a tool that can automate the application, a testing tool or library that provides various capabilities like – test result reports, a ...

TestNG Introduction
By Kuldeep Rana
In this post, we will be studying – What is TestNG? It is a widely used testing framework. It supports all levels of testing from ...