After our introduction to TestNG, we are moving towards its installation as an Add-in in Eclipse.For this we need Eclipse on our system and an internet connection.
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
Step2:-
a.Click Add on "Available Software" window
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
Step3:-
Select TestNG in Available Software list window -> Click Next
Step4:-
Accept the license Agreement -> Finish
Note:- Incase of any warning message popup comes , click OK
Step5:-
Restart Eclipse
Step6:-
Verify TestNG is successfully installed.
Right click on the Java Project in the solution explorer and check that TestNG option is available.
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 |
a.Click Add on "Available Software" window
Available Software |
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 |
Accept the license Agreement -> Finish
License Agreement Window |
Security Warning Message |
Restart Eclipse
Restart Eclipse window |
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 |