TestNg Tutorials

TestNg Annotations – Selenium online Training

TestNg annotations are the most crucial part to understand for the TestNG beginners . One must understand these annotations to write the scripts in TestNg and to build frameworks. Below are the TestNg Annotations @BeforeSuite: This method will be invoked before the suite runs. @AfterSuite: This method will be invoked after all the test cases …

TestNg Annotations – Selenium online Training Read More »

Skip Test case in TestNg and Ignore Test Case in TestNg – online Training

Skip Test case in TestNG In TestNg we can skip the test case by using the throw new SkipException(“message”); We may come across the situation like when we do not have sufficient data and we want to skip the test case in that condition then we can use the SkipException . Java Program : Here we …

Skip Test case in TestNg and Ignore Test Case in TestNg – online Training Read More »