top of page
Search

How to install a TestNG Plugin in the new version of Eclipse

Updated: Oct 5, 2023

Simran Raina @sraina / 3.13 PM EDT. August 16, 2021.

How to install a TestNG plugin in new version of Eclipse

TestNG otherwise known as Test Next Generation is one of the most commonly used automation testing frameworks in Java. The TestNG Eclipse plug-in gives you an automation tester the ability to run your TestNG tests from Eclipse and easily monitor their execution and output.


In this article, I will explain the step by step approach on how to Install a Text Next Generation (TestNG) Eclipse.


If you are struggling with installing TestNG for the Eclipse plugin, chances are you have tried the two popular ways:


1) Through Eclipse Marketplace

2) Through Install New Software


It is frustrating - right? cos the two popular ways work on older versions smoothly. Then why isn't it working on the later versions? We really need a sure shot solution that works all the time. And yes, there is one.


Downloading the Jar files and dumping them in the Eclipse /dropins folder.


Step 1: Click on the below link to download TestNG v7.4.0



Step 2: Unzip the downloaded file and explore the contents

TestNG plugin

Step 3: Copy /features and /plugins folders

Test Next generation

Step 4: Locate the Eclipse installation folder in your local system and go in the /dropins folder


TestNG elipse

Step 5: Create a new folder named "testng-eclipse-7.4.0".


Step 6: The copied folders from Step 3, paste them inside this newly created folder.

testing eclipse new version

Step 7: Restart your Eclipse and create a TestNG project by going to File-> New -> Other..


Do you wish to know more about TestNG Eclipse and how you can use it to solve real-life problems and work on projects? Enrol for the BusyQA Automation Testing training. Click here to join the next cohort.


Happy learning and testing!








Comments


bottom of page