Providing data parallely to testng testcases

parallel execution testng

When we use dataprovider to provide data to our test cases ,it provides data to test case serially ... Read More

TestNg and Grid

testng grid

If we have multiple test classes in the same suite we can run them parallely by using the command. ... Read More

Data providers providing different sets of data depending upon the calling test

data provider testng

We can define a data provider that provides different sets of data depending upon which test is call ... Read More

Installing Testng on Eclipse

installing testng

To install Testng in Eclipse go to googl tpye install Testng go to the link and then copy the link t ... Read More

Custom Listeners in testng using ITestListener

custom listener testng

Other than TestListenerAdapter we can even implement an interace named ITestListener for our class n ... Read More

Running testng tests in batch

xml file testng

We can run mutiple testng suites by adding them to a suite.xml file like this ``` <suite name=" ... Read More

Custom Listeners in testng using TestListenerAdapter

testng custom listeners

If we want to add custom listeners to any testng project we define a class named CustomListener wh ... Read More

Skip or fail a test in testng

skip fail testng

To skip a test in testng we use skip exception ``` @Test public void testA1(){ throw new SkipE ... Read More

Testng basics

testng

TestNg is a framework just like junit but with some better features.It is used to build test cases , ... Read More

Testng annotations

testng annotations

We write a simplt test in testng using @Test annotation ``` @Test public void printmsg(){ Syst ... Read More