How to Download, Install & Add TestNG in Eclipse for Selenium

Installing TestNG in Eclipse

Following is a step by step guide on how to install TestNG in Eclipse:

Step 1) Open Eclipse software & install new software

Launch Eclipse.

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

Installing TestNG in Eclipse


Step 2) Search the TestNG using the Find option and,
Click on the installation button.

Installing TestNG in Eclipse

Step 3) Confirm the installation process.

Click on confirm button

How to Install TestNG in Eclipse

Step 4) Accept the license agreement

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

It will take time depending on your Internet speed.

Steps to Install TestNG in Eclipse


Step 5) After accept the licence agreement,

wait for installation.

Process to Install TestNG in Eclipse

Step 6) Ignore security warning if occurs

If you encounter a Security warning, just click “Install Anyway”.

Process to Install TestNG in Eclipse

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.”

Process to Install TestNG in Eclipse

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.

Process to Install TestNG in Eclipse

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

How to Install TestNG in Eclipse

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