Similar Posts

2 Comments

  1. Hi Rajkumar,

    I have gone through your testng annotation post and found a mistake in the definition of @AfterClass annotation. You have written same definition for both @BeforeClass and @AfterClass. Kindly make the corrections.

    { @BeforeClass: A method which is marked with this annotation will be executed before first @Test method execution. It runs only once per class.

    @AfterClass: A method which is marked with this annotation will be executed before first @Test method execution. It runs only once per class.}

    Thanks,
    Pravin Pawar

Leave a Reply

Your email address will not be published. Required fields are marked *