What is @AfterGroups?
@AfterGroups is one of the TestNG Annotations. As the name defines, @AfterGroups should be executed after all the test methods belonging to a specified group have been run. This annotation allows developers to specify various actions to be taken after all the test methods belonging to a specified group have been run.
TestNG Annotations – @AfterGroups
The Concept Annotations is introduced in Java 1.5 (jdk5). 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 @AfterGroups.
Contact Us