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.
- EclipseMarketPlace will open up.
4.Enter TestNG in search box and Click Enter button.
5.Click the install button.
6.Eclipse will start downloading the TestNG plugin from web and complete the installation.
- If already the TestNG software is installed in Eclipse Marketplace will show “Installed” instead of “Install”.
8.Now, TestNG is installed in the system.
2nd Way of Installing TestNG :
1.Open the Eclipse IDE
2.Goto Help menu and select “Install New Software”
3.A Dialog pop up will be displayed.
4.Click Add from the Pop up
- Another pop up will appear
6.Enter TestNG as Name
7.Location as http://beust.com/eclipse/ and click Ok
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.
10.Select the checkbox and Click Next
- Click Next
12.Select the “I Accept the terms of the license agreement” then click Finish.
13.A Security Warning pop up will be displayed sometimes.
14.Just ignore them and click OK
15.A pop up will display to restart the system to complete the TestNG installation process.
16.Click Yes and Eclipse IDE will be restarted.