Installing TestNG in Eclipse

TestNG is a test framework which provides more flexibility and functionality as compared to JUnit. It is not being used increasingly with test automation tools like Selenium. Here is a step-by-step guide about how we can install TestNG in Eclipse IDE.

  1. Open Eclipse IDE and go to Help–>Install New Software option.
  2. Click ‘Add’ button.
  3. Provide Location value as ‘’ in opened dialog box and click OK button.

    Install TestNG in Eclipse


  4. Select ‘TestNG’ value from displayed options.
  5. Click Next button and follow the wizard to complete the required steps.
  6. Congrats! You have successfully installed TestNG in your Eclipse IDE.
  7. You can verify if TestNG is installed properly by right-clicking any project and checking for ‘TestNG’ option in context menu.

We hope this tutorial about TestNG in Eclipse setup is useful. We will provide more tutorials on other automation and TestNG related stuff in next articles.

  1. Vishnu
  2. nisim

Leave a Reply

Your email address will not be published.