TestNG @BeforeSuite Annotation Till now, we read about the @BeforeTest and @AfterTest which have control over the particular folder not on the…
Testng Tutorial
-
-
Exclude/Include test cases TestNG provides the feature of enabling and disabling the test cases. We can disable a set of test cases…
-
TestNG @BeforeTest Annotation You have a requirement when you automate the test cases, you want your data to be deleted first which…
-
Features of TestNG Multiple Before and After annotation options Before and after annotations are used to execute a certain set of code…
-
TestNG Groups TestNG Groups allow you to perform groupings of different test methods. Grouping of test methods is required when you want…
-
Importance of XML file in TestNG Configuration In TestNG, you can define multiple test cases in a single class whereas, in Java,…
-
Running test cases with Regex In this topic, we will use the regular expressions to include/exclude test methods from the test suite…
-
Running test cases in TestNG without java compiler Let’s create a new project in TestNG. Step 1: Create a TestNG project. It…
-
TestNG Annotation Attributes TestNG Parameters are the arguments that we pass to the test methods. There are two ways through which we…
-
TestNG @AfterClass Annotation @AfterClass: The @AfterClass annotated method will be executed after all the test methods of a current class have been…