What is @BeforeSuite?
@BeforeSuite is one of the TestNG Annotations. As the name defines, @BeforeSuite is executed before the execution of all the test cases inside a TestNG Suite. This annotation allows developers to specify various actions to be taken before the execution of all the test cases inside a TestNG Suite.
TestNG Annotations – @BeforeSuite
The Concept Annotations is introduced in Java 1.5. The Popular Annotation in Java is @override. We use the same annotation concept in TestNG.
In TestNG, there are 10 Annotations
In this article, we will learn about @BeforeSuite.
Contact Us