download-and-install-Install-TestNG-In-Eclipse

How to Install TestNG In Eclipse

Table of Contents

In this tutorial we will learn how to install TestNG in Eclipse

Installing TestNG in Eclipse

Following are the steps to install TestNG in Eclipse

Step 1: Launch Eclipse

  1. Go to the menu bar and click on Help.
  2. Click on the “Install New Software” option.

Help.PNG

Step 2: You will see a New Eclipse installation dialog window, Click on “Add” button.

Add.PNG

Step 3: In Add Repository dialog box

  1. Enter TestNG in Name Text Field
  2. Enter the Location
  3. Click Add button
TestNG.PNG

Step 4: After Clicking on add button it redirects us back to previous window. Here you can see the TestNG option available in the software list. After that, check the “TestNG” option and click Next button.

TestNG1.PNG

Step 5: Click Next button to install TestNG dependencies

Install.PNG

Step 6: Select the Radio button “ I Accept the terms of the license agreement” and click Finish button.

accept.PNG

Step 7: You may or may not encounter a Security warning, Just click “Install Anyway”

Installanyway.PNG

Step 8: Wait till the installation finish. Click “Restart now”, when the Eclipse asks for a restart.

restart.PNG

Step 9: Finally, after the restart, verify if TestNG installed successfully or not. Click Window > Click Show View > Click Other

TestNG2.PNG

Open the Java directory and see if TestNG is included or not.

TestNG3.PNG

That’s it to TestNG Installation

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share this article
Subscribe
By pressing the Subscribe button, you confirm that you have read our Privacy Policy.
Need a Free Demo Class?
Join H2K Infosys IT Online Training
Enroll Free demo class