Step 1) Open Eclipse software & install new software Launch Eclipse.

On the menu bar, click Help. Choose the “Install New Software…” option.

Step 3) Confirm the installation process. Click on confirm button

Step 4) Accept the license agreement

Select the radio button “I accept the terms of the license agreement” Click on Finish.

It will take time depending on your Internet speed.

wait for installation.

Step 6) Ignore security warning if occurs If you encounter a Security warning, just click “Install Anyway”.

Step 7) Finish the installation and restart your system Wait for the TestNG install in Eclipse to finish. When Eclipse prompts you for a restart, click “Restart now.”

Step 8) Verify if the installation is done properly After the restart, verify if TestNG for Eclipse was indeed successfully installed. Click Window > Show View > Other.

Then open the Java directory and see if TestNG is included.

That’s it on how to add TestNG in Eclipse.