Also there is no need to download any Jar file or exe file for installation. We need to just utilize the “Install New Software” option available in the Eclipse.
Step1:-
Launch Eclipse IDE -> Help -> Install new Software
![]() |
Install New Software |
Step2:-
a.Click Add on “Available Software” window
![]() |
Available Software |
b.Fill the details on “Add Repository” window, i.e Name,(say TestNG) and location = “http://beust.com/eclipse” ->Click OK
Beust to remind You is the creator of TestNG
![]() |
Add Name and Location of TestNG |
Step3:-
Select TestNG in Available Software list window -> Click Next
![]() |
Select TestNG |
Step4:-
Accept the license Agreement -> Finish
![]() |
License Agreement Window |
Note:– Incase of any warning message popup comes , click OK
![]() |
Security Warning Message |
Step5:-
Restart Eclipse
![]() |
Restart Eclipse window |
Step6:-
Verify TestNG is successfully installed.
Right click on the Java Project in the solution explorer and check that TestNG option is available.
![]() |
TestNG is Installed |
Note:-
1.It can happen due to company restrictions you may need to do proxy settings to enable installing of new software from eclipse.
How to do that, ask proxy settings in your team(most of the time development team know this as they are already using eclipse).
in eclipse follow the path, windows > preferences >search ‘network’ > click on network connections > set the settings something like as shown in the below screenshot
2.Another way to download software in eclipse is using “marketplace“
Help > Eclipse marketplace > search “testNG” and install 🙂
Writing our First Test Case using TestNG