How to Install TestNG In Eclipse
![How to Install TestNG In Eclipse download-and-install-Install-TestNG-In-Eclipse](https://www.h2kinfosys.com/blog/wp-content/uploads/2020/06/download-and-install-Install-TestNG-In-Eclipse.jpg)
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
- Go to the menu bar and click on Help.
- 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
- Enter TestNG in Name Text Field
- Enter the Location
- 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