Software Testing
TestNG Framework Basics
TestNG Framework Basics
TestNG is a testing framework usually for large-scale end-to-end testing needs. It uses Java, and test methods...
Assert in TestNG Framework
Assert in TestNG Framework
While writing tests, we may want to ensure everything is as expected ( test data, conditions, navigation fl...
Sample TestNG suite file with Custom Listener
Sample TestNG suite file with Custom Listener
In this post, we will go through a sample TestNG suite file with Custom Listener. Also, ...
TestNG Multiple Exception Tests
TestNG Multiple Exception Tests
In this post, we will discuss more details of handling multiple exceptions and other examples with exa...
TestNG Test Priority
TestNG Test Priority
In this post, we will learn some code examples about TestNG priority and how to set to @Test methods.By default T...
Custom Assertions in TestNG Framework
Custom Assertions in TestNG Framework
If we write tests using the TestNG framework perhaps we use the Assert class. But, most of the m...
SoftAssert in TestNG Framework
SoftAssert in TestNG Framework
In this post, we will discuss SoftAssert in the TestNG framework. Sometimes, we might write more than o...
TestNG Custom Listener Example
TestNG Custom Listener Example
In this article, we will discuss the TestNG Custom Listener example. We use Custom Listener to listen t...
What is @Factory Annotation?
What is @Factory Annotation?
TestNG Factory annotation feature allows us to create tests dynamically at run-time. Factory will execute...
What is DataProvider ?
What is DataProvider ?
In this post we will look into DataProvider Basic Example. @DataProvider allows a @Test method which uses the d...