TestNG Tutorial

How to install Testng in eclipse using Marketplace

In Selenium you have to use some Unit testing framework like JUnit or TestNG. I will guide you on how you can install TestNG in eclipse using simple steps.

TestNG provides different features that reduce enough time for automation tester while automating the script. TestNG provides different methods and collection of classes which we can consume to write an effective test.

Few features of TestNG which I personally use in my framework.

Parallel Execution, Variety of annotations, Reports, Running test as TestSuite, Assertion method, easy integration with Maven and other tools, Handling thread internally using a Thread pool, support of Data-Driven using @DataProvider annotations, support of parameters and many more.

I have dedicated videos on the TestNG tutorial.

There are 2 ways to install this but I generally prefer using Marketplace of Eclipse.

 

Install TestNG in eclipse for Selenium

  1. Start eclipse
  2. Go to help section
  3. Click on Eclipse Marketplace install testng in eclipse

 

  1. Search for TestNG install testng in eclipse 1
  2. Hit Enter or click on Search Option
  3. Click on install
  4. It will start downloading and It will ask to restart the Eclipse.

 

  1. install testng in eclipse
  2. Now you can use TestNG feature in Eclipse.

 

Note- Once you install the TestNG plugin it will store testng.jar so once you start Selenium then you don’t have to use or import jar again in your project.

author-avatar

About Mukesh Otwani

I am Mukesh Otwani working professional in a beautiful city Bangalore India. I completed by BE from RGPV university Bhopal. I have passion towards automation testing since couple of years I started with Selenium then I got chance to work with other tools like Maven, Ant, Git, GitHub, Jenkins, Sikuli, Selenium Builder etc.

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.