SELENIUM BASICS:


SELENIUM WEBDRIVER:


TESTNG:


REPORTS:


BUILD & CONTINUOUS INTEGRATION TOOLS:


CROSS BROWSER TESTING:


MOBILE TESTING:


AUTOMATION FRAMEWORKS:


API Testing:


INTERVIEW QUESTIONS:


SAMPLE RESUME:

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 “http://beust.com/eclipse/” and click on ‘OK‘ button
If the above link wont work, use the beta version link “http://testng.org/eclipse-beta”
Note: You could always look back at TestNG site for the link (“http://testng.org/doc/download.html“)
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:

Get our latest blog posts delivered to your inbox

Subscribe and get popular blog posts about software testing industry.

Rajkumar

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

Share via
Copy link
Powered by Social Snap