Step
1:
Open
Eclipse and click on Help tab at the top (as shown below)
Step 2:
After that Select Install New Software option (as shown below screen)
Step 3:
Enter
the either below eclipse link based on user eclipse version
- For Eclipse 3.4 and above, enter http://beust.com/eclipse
- For Eclipse 3.3 and below, enter http://beust.com/eclipse1
- And click on “Add button” as shown below
Give
name as TestNG and click on ok button
Step 4:
After
that select “TestNG” checkbox and click finish button
Now the “TestNG” plugin is add to eclipse successfully :)