How to Install TestNG in Eclipse IDE for Selenium WebDriver

How To Install TestNG In Eclipse

Before going through how to install TestNG plugin in Eclipse IDE. Let’s see what is TestNG and the pre-requisities we need to install TestNG in Eclipse IDE.

What is TestNG:

TestNG is a testing framework designed to simplify a broad range of testing needs, from unit testing to integration testing. Read more…

Pre-requisities to Install TestNG Eclipse:

We need to have the following
i. Selenium IDE
ii. Active Internet Connection

Earlier I have posted a detailed post on “How To Install Selenium IDE”. If you haven’t gone through it, you can browse by clicking on the link.

Also you could see “How To Install Selenium WebDriver” by clicking on the link.

Download and Install TestNG In Eclipse IDE

Follow the below steps to complete the installation.

Step 1: Open Eclipse IDE
Step 2: Download and Install TestNG

Please be patient. The video will load in some time.

Launch the Eclipse IDE. Go to ‘Help‘ and click on ‘Install New Software
Install TestNG
Click on ‘Add‘ button
Install TestNG
Enter the ‘Name‘ as you wish. Here I am adding as ‘TestNG‘. Add location as “” and click on ‘OK‘ button
If the above link wont work, use the beta version link “”
Note: You could always look back at TestNG site for the link (““)
Install TestNG
In the Available Software list, you could see TestNG option
Install TestNG
Just Click “TestNG” and press “Next” button.
Install TestNG
Click on “Next” button
Install TestNG
Click “I accept the terms of the license agreement” then click Finish.
Install TestNG
Install TestNG
Install TestNG
Installation is completely done. Just click “Yes
Install TestNG
Choose your workplace and click on “OK“.
Install TestNG
After restart, Right click on your project to verify if TestNG was successfully installed or not. If it is successfully installed, you could see TestNG as shown below.
 Install TestNG
If you have any queries, please comment below. Like this post, don’t forgot to share it.
Related Articles for you:

Sharing is caring.

Share on facebook
Share on twitter
Share on linkedin

Like This Post?

We have a lot more where that came from?

We only send really good stuff occasionally, promise.

Rajkumar SM

1 thought on “How to Install TestNG in Eclipse IDE for Selenium WebDriver”

  1. Will TestNG be set up only for the specific project or for all projects in Eclipse?
    Do I need to setup TestNG separately for each project?

Leave a Comment

Your email address will not be published. Required fields are marked *

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on whatsapp

Recent Posts:

Scroll to Top
API Testing eBook