Tag: testng tutorials

How to Use TestNG Factory Method for Load Testing

Learn to Use TestNG Factory Method for Load Testing

In this post, we are again going to teach you an out of the box feature of TestNG. It is none other than the TestNG factory method. In this TestNG tutorial, we’ll cover how to …
How to Use TestNG Threads for Selenium Load Testing

Learn to Use TestNG Threads for Selenium Load Testing

It’s a simple TestNG tutorial which explains how to use TestNG threads for Selenium load testing. Also, it’s true that we can utilize TestNG to perform load testing by creating multiple threads. We can even …
Using TestNG Assertions to Verify Tests

Using TestNG Assertions to Verify Tests in POM Framework

Assertions are the best replacement of If-Else blocks for testing conditions. They are not only easy to use but also reduce the chances to make any error while writing conditions. Hence, it’s always beneficial to …
TestNG Parameters and DataProvider Annotations

Unboxing TestNG Parameters and DataProvider Annotations

Unlike the old & reliable JUnit Test Framework, the modern day test automation tool, TestNG has built-in support for the data-driven testing. It provides two ways to supply data to the test cases i.e. via TestNG …
Save Selenium WebDriver TestNG Result to Excel

How to Save Selenium WebDriver TestNG Result to Excel

In this post, we’ll teach you an easy method for saving Selenium WebDriver TestNG result. So, first of all, we’ll create a basic Java project in Eclipse and add the Selenium WebDriver TestNG packages. Also, …
Read data from Properties File Using TestNG Framework

Read data from Properties File Using TestNG Framework

In this post, we are explaining how to read data from properties file using TestNG framework. In our previous post, we’ve illustrated the same concept i.e. creating/reading property file in a simple Selenium Webdriver project. Here, we’ll …
TestNG Test Case Using Selenium Webdriver

Create TestNG Test Case Using Selenium Webdriver

In our previous blog posts on the TestNG framework, we’d covered the installation of TestNG in Eclipse and discussed the various TestNG annotations available for the Selenium Webdriver. If you are planning to learn Selenium …
Must-know TestNG Annotations for Selenium Webdriver Project

TestNG Annotations For Selenium WebDriver Project

In our last post on TestNG, we’d explained the three unique ways to install the TestNG plugin in Eclipse IDE. Now the next important item is to learn about the TestNG annotations. Annotations are nothing but a piece …