Different Ways To Install TestNG ?

What are the ways to install TestNG in eclipse?

There are 2 ways we can install TestNG in Eclipse. They are as follows.

1 st Way of Installing TestNG :

Open the Eclipse.
Goto Help menu and Select Eclipse MarketPlace.

  1. EclipseMarketPlace will open up.

TestNG-Eclipse-MarketPlace-PopUp

4.Enter TestNG in search box and Click Enter button.

TestNG-Search-Box-Data-Enter

5.Click the install button.

6.Eclipse will start downloading the TestNG plugin from web and complete the installation.

  1. If already the TestNG software is installed in Eclipse Marketplace will show “Installed” instead of “Install”.

TestNG-Install-Confirmation

8.Now, TestNG is installed in the system.

2nd Way of Installing TestNG :

1.Open the Eclipse IDE

TestNG-Eclipse-Installation

2.Goto Help menu and select “Install New Software”

TestNG-Eclipse-Install-New-Software
3.A Dialog pop up will be displayed.

TestNG-Eclipse-Available-Software
4.Click Add from the Pop up

TestNG-Add-Button

  1. Another pop up will appear

TestNG-Installation-PopUp

6.Enter TestNG as Name

7.Location as http://beust.com/eclipse/ and click Ok

TestNG-Beust-com-Eclipse
8.System will take some few minutes to download the TestNG jar file from the remote server.
9.After few minutes, you will be able to see TestNG option with Check box.

TestNG-Software-Check-Box
10.Select the checkbox and Click Next

TestNG-Eclipse-Check-Box

  1. Click Next

TestNG-Eclipse-Next-Button

12.Select the “I Accept the terms of the license agreement” then click Finish.

TestNG-Accept-Terms-Confirmation
13.A Security Warning pop up will be displayed sometimes.

TestNG-Installing-Software

TestNG-Security-Warning-Message
14.Just ignore them and click OK

TestNG-Eclipse-Warning-Ok

15.A pop up will display to restart the system to complete the TestNG installation process.

TestNG-Restart-Eclipse
16.Click Yes and Eclipse IDE will be restarted.

Leave a Comment

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