When we use dataprovider to provide data to our test cases ,it provides data to test case serially ... Read More
If we have multiple test classes in the same suite we can run them parallely by using the command. ... Read More
We can define a data provider that provides different sets of data depending upon which test is call ... Read More
To install Testng in Eclipse go to googl tpye install Testng go to the link and then copy the link t ... Read More
Other than TestListenerAdapter we can even implement an interace named ITestListener for our class n ... Read More
We can run mutiple testng suites by adding them to a suite.xml file like this ``` <suite name=" ... Read More
If we want to add custom listeners to any testng project we define a class named CustomListener wh ... Read More
To skip a test in testng we use skip exception ``` @Test public void testA1(){ throw new SkipE ... Read More
TestNg is a framework just like junit but with some better features.It is used to build test cases , ... Read More
We write a simplt test in testng using @Test annotation ``` @Test public void printmsg(){ Syst ... Read More