TestNG @Test Annotation

@Test annotation is one of the basic annotations in TestNG. This annotation marks a method as a test method. The test method annotated with @Test annotation tells TestNG that this method is a “test” and it should be executed when…







