All IT Courses 50% Off
Selenium Tutorials

How to Install TestNG In Eclipse

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 https://dl.bintray.com/testng-team/testng-eclipse-release/7.0.0/
  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

Facebook Comments
Tags

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.

Related Articles

Back to top button
Close
Close

Get Selenium Training Online
Course Now at 50%OFF!

Offer valid for 1st 20 seats only, Hurry up!!

You have successfully subscribed to the newsletter

There was an error while trying to send your request. Please try again.

H2kinfosys will use this information to be in touch with you for providing updates.