All IT Courses 50% Off
Selenium Tutorials

How to Install TestNG In Eclipse

In this tutorial we will learn how to install TestNG in Eclipse

Installing TestNG in Eclipse

Following are the steps to install TestNG in Eclipse

Step 1: Launch Eclipse

  1. Go to the menu bar and click on Help.
  2. Click on the “Install New Software” option.


Step 2: You will see a New Eclipse installation dialog window, Click on “Add” button.


Step 3: In Add Repository dialog box

  1. Enter TestNG in Name Text Field
  2. Enter the Location
  3. Click Add button

Step 4: After Clicking on add button it redirects us back to previous window. Here you can see the TestNG option available in the software list. After that, check the “TestNG” option and click Next button.


Step 5: Click Next button to install TestNG dependencies


Step 6: Select the Radio button “ I Accept the terms of the license agreement” and click Finish button.


Step 7: You may or may not encounter a Security warning, Just click “Install Anyway”


Step 8: Wait till the installation finish. Click “Restart now”, when the Eclipse asks for a restart.


Step 9: Finally, after the restart, verify if TestNG installed successfully or not. Click Window > Click Show View > Click Other


Open the Java directory and see if TestNG is included or not.


That’s it to TestNG Installation

Facebook Comments

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Articles

Back to top button