Installing TestNG in Eclipse
• Launch Eclipse.
• On the menu bar, click Help.
• Choose the “Install New Software…” option.
• Open Google
• Search for “Download TestNG”
• Click On the Link
Copy the selected url part (should not even include the space or dot) – http://beust.com/eclipse
Enter a name of your choice like “TestNg” and click ok button
Click next button in the next screen again
In a few seconds, TestNG gets installed into your Eclipse
In the window that appears, you should be able to see TestNG as an option