Automate TestNG in Selenium: A Step by Step Guide

Automation using TestNG in Selenium Tutorial - Step by Step Guide

Get equipped with the necessary knowledge and skills to implement automated tests effectively with this step-by-step guide on Automating TestNG in Selenium:

The TestNG framework is an open-source advanced automation testing framework for the Java programming language. JUnit and NUnit inspire it, and it has some new functionality that makes it more powerful and easier to use. (NG stands for ‘Next Generation’).

It provides advanced features such as annotations, data-driven testing, test sequencing, grouping, and parallel testing to help organize and execute Selenium tests more efficiently and effectively.

Read more

Was this helpful?

Thanks for your feedback!

QTP – Steps to Insert Standard and Image Checkpoint Tests

Insert Standard and Image Checkpoint

In the previous QTP training session, we listed all the checkpoints that QTP provides. All these checkpoints are very important to insert verification points in QTP tests to check if the current and expected values of an object match or not. This determines the PASS or FAIL status of the …

Read more


How to Download and Install SoapUI and SoapUI Pro

SoapUI and SoapUI Pro installation guide

In this article, we will learn about the SoapUI download and Installation process. Let’s get started.  In this tutorial, we will learn how to install SoapUI and SoapUI Pro with a trial key. We will also see a few major differences between SoapUI and SoapUI Pro and their plugins/add-ons at …

Read more


What is Automation Testing? Guide With a Simple Example

Ultimate Guide to Automation Testing

Here is the Complete Guide to start Automation Testing on Your Project. Let’s get started.  Let us first understand what Automation Testing is? Automation testing is a Software testing technique to test and compare the actual outcome with the expected outcome. This can be achieved by writing test scripts or …

Read more


SoapUI Groovy Script Set anf Get Property Value

How to Use Properties in SoapUI Groovy Script – SoapUI

In this tutorial, you will see how to use properties in SoapUI Groovy Script. Let’s get started.  Properties are the central repository for temporarily storing information. They can contain login information like username and password, session data like session ID, page context, header information, and so on. This is the …

Read more


Selenium Framework Project and Folder Structure

Selenium Framework Creation and Accessing Test Data from Excel

In the last tutorial, we familiarized you with the basics of test automation Frameworks, their components, and their types. The frameworks illustrated in the previous tutorial were a few of the most popular frameworks used by the testing fraternity. We briefly discussed Module Frameworks, Library architecture-based frameworks, Keyword-driven frameworks, Data-driven …

Read more


QTP Parameterization Part 2

Techniques for Parameterization

In part 1 of this QTP Parameterization tutorial, we explained Datatable Parameterization with an example. In this QTP tutorial let’s focus on the remaining three Techniques for parameterization in QTP: 2) Random number parameters 3) Environment variable parameters 4) Test/Action parameters => Click Here For QTP Training Tutorials Series #2 – …

Read more


QTP – Writing Loop and Conditional Statements

Writing Loop and Conditional Statements

VB Scripting Basics – Writing Loop and Conditional Statements for Building the Programming Logic. => Click Here For The QTP Training Tutorials Series => Also read the complete free VBScripting Tutorial series here In the last VB Scripting article, we saw some of the basic features of the VB script. Here, we …

Read more


How to Test JAVA Applications (Sample Test Cases)

Testing JAVA Applications

In this tutorial, we will learn how to test Java Applications. You will see the components involved in a Java application and the types of testing that need to be carried out to ensure a high-quality, bug-free application. We have created a three-part series on testing JAVA applications: How to …

Read more


Agile Test Automation Strategy: What and How to Automate

Automation-in-Agile

Quickly accelerate your Agile journey with smart test automation. Unleash the full potential of your development cycle with efficient test automation techniques in the agile world: Automation in Agile is very critical. Think about the many features that are added and delivered to every Sprint.  There has to be a …

Read more


How to Use Methods in SoapUI for Bulk Test Execution

Use Methods in SoapUI

In this tutorial, we will learn how to use methods in SoapUI for bulk test execution. Let’s get started. In the last SoapUI tutorial, we learned about conditional statements in Groovy scripts. This tutorial is all about object-oriented programming in SoapUI Groovy scripts, a very interesting and important programming concept. …

Read more


Check Visibility of Web Elements Using WebDriver Commands

Visibility of Web Elements Using Various Types WebDriver Commands

How to check the visibility of web elements using various types of looping and conditional commands in WebDriver: Previously in the series, we discussed WebDriver’s Select class which is primarily used to handle web elements like dropdowns and selecting various options under the dropdowns. Moving ahead in the Selenium series, …

Read more


How to Use TestNG Framework for Creating Selenium Scripts

Selenium TestNG Framework

In the last few tutorials, we shed light on the basic and commonly used WebDriver commands. We also learned about the locating strategies of UI elements and their inclusion in the test scripts. Therefore, we developed our very first WebDriver Automation Test Script.

Moving ahead with this tutorial, we will discuss all about TestNG, its features, and its applications.

TestNG is an advanced framework designed in a way to leverage the benefits of both the developers and testers. For people already using JUnit, TestNG would seem no different with some advanced features. With the commencement of the frameworks, JUnit gained enormous popularity across Java applications, Java developers, and Java testers, with remarkably increasing code quality.

Read more

Was this helpful?

Thanks for your feedback!

Selenium WebDriver Tutorial

Introduction To Selenium WebDriver

Introduction to Selenium WebDriver: Earlier in this series, we published tutorials that focused more on Selenium IDE and its various aspects. We introduced the tool and discussed its features. We also constructed a few scripts using Selenium IDE and Firebug. From there, we moved on to different types of web …

Read more


Data Driven Framework in Selenium with Example

Data Driven Framework in Selenium using Apache POI

How to work on Data Driven Framework in Selenium Using Apache POI? Data Driven Framework is one of the most popular Automation Testing Frameworks in the current market. Data Driven automated testing is a method in which the test data set is created in the excel sheet, and is then …

Read more


Sample POC Document for Automation Testing

Automation testing proof of concept poc

In this article, we provide a detailed step-by-step guide on how to Implement Proof of Concept POC Document for Automation Testing. Every organization has different testing processes and procedures. Manual Testing is important and irreplaceable. However, automation is now picking up speed. Introducing automated testing to an organization is a …

Read more


HP ALM/Quality Center (Now OpenText) Tutorials

Micro Focus ALM Quality Center Tool Tutorial

HP Quality Center / ALM is now changed to Micro Focus Quality Center / ALM but still, the content on the page is valid on the new Micro Focus domain and tools as well. We are starting the HP Application Lifecycle Management (ALM) Quality Center (QC) tutorial series. This will …

Read more


HP ALM/QC – Project Analysis Using Dashboard Tools

Micro Focus Quality Center Project Analysis (1)

HP Quality Center/ALM is now changed to Micro Focus Quality Center/ALM but still, the content on the page is valid on the new Micro Focus domain as well as tools. Here, we are at the end of the QC series. If you are here for the first time, I highly …

Read more


Selenium – Introduction to JUnit Framework and Its Usage

Introduction to JUnit Framework

This tutorial will give an insight into JUnit and its usage in selenium script. This is tutorial #11 in our comprehensive Selenium tutorials series. JUnit is an open-source unit testing tool used to test small/large units of code. To run the JUnit test, you don’t have to create a class …

Read more