How to Install TestNG in Eclipse IDE for Selenium Webdrivers?

Rupesh Garg

August 1, 2023

3 mins

In this blog post, we will be discussing how to install TestNG for Selenium Webdriver in Eclipse IDE. It is very easy to install TestNG, as it comes as a plugin with Eclipse.

Prerequisites for Installing TestNG

  1. Successfully installed Eclipse IDE.
  2. Perfectly fine running Internet Connection.

Steps to Install TestNG

  1. Launch Eclipse IDE.
  2. Go to the Help option in the top main horizontal menu.
  3. Select “Install New Software” from the list.
Install New Software
  1. You will see a dialog box. Click the “Add” button.
Add button dialogue box
  1. In the “Name” field, type whatever name you want to give; for example, in this case, I am giving the name “TestNG”. In the location field, enter the following URL: “http://beust.com/eclipse/”. Click on the Add button.
Input in Name field
  1. You will return to the previous window. This time you will be able to see the “TestNG” option in the list of available software.
  2. Click on “TestNG” and click on the Next button.
Click on Next button
  1. Click on “I accept the terms and license agreement” and click on the Finish button.
  2. If you encounter a security warning, click on the OK button.
  3. Eclipse will take a while to download and install TestNG. You will see a prompt to restart the Eclipse.
  4. Restart Eclipse, and now you are ready for the actual coding.
  5. After restarting to verify the successful installation of TestNG, right-click on your project and see if TestNG is displayed in the opened menu.
Displaying TestNG

In a way, we aim to help you Download and Install the TestNG plugin for Eclipse IDE.

Rupesh Garg

✨ Founder and principal architect at Frugal Testing, a SaaS startup in the field of performance testing and scalability Possess almost 2 decades of diverse technical and management experience with top Consulting Companies (in the US, UK, and India) in Test Tools implementation, Advisory services, and Delivery. I have end-to-end experience in owning and building a business, from setting up an office to hiring the best talent and ensuring the growth of employees and business.

Our blog

Latest blog posts

Discover the latest in software testing: expert analysis, innovative strategies, and industry forecasts
Software Testing

Getting Started with Azure Test Plans: A Step-by-Step Guide

Rupesh Garg
Rupesh Garg
February 27, 2025
5 min read
Testing Tools

Setting Up Jenkins With GitHub For Automated Workflows

Rupesh Garg
Rupesh Garg
February 27, 2025
5 min read
DevOps
Software Testing

Step‑by‑Step Gatling Load Testing: Accelerate Your DevOps Pipeline

Rupesh Garg
Rupesh Garg
February 26, 2025
5 min read