Installation Instruction (in Eclipse):
Method 1:
The latest version of TestNG can be downloaded from Maven Central.
For the Eclipse plug-in, use the update site:
Select Help / Software Updates / Find and Install.
Search for new features to install.
New remote site.
For Eclipse 3.4 and above, enter http://beust.com/eclipse.
Make sure the check box next to the URL is checked and click Next.
The eclipse will then guide you through the process.
After installation follows the steps below:
1. Restart eclipse
2. Go to Window-> Preferences and observe the left panel
3. TestNG is enlisted
For Installation steps/details visit the following site:
http://testng.org/doc/download.html
Method 2:
TestNG can also be installed in Eclipse by using Marketplace. Below are the steps:
Open eclipse
Go to Help -> Eclipse Marketplace.
Do search for TestNG (Type the text TestNG in Find text box > Click Go button)
After searching: Click Install button at TestNG for Eclipse area
Follow the further instructions by eclipse
Method 3: