Installing TestNG & Adding JARS in Eclipse
Installing TestNG & Adding JARS in Eclipse
Step 2)
Step 5)
Select the radio button "I accept the terms of the license agreement"
Click on Finish.
Step 6) If you encounter a Security warning, just click "Install Anyway".
Step 7) Wait for the installation to finish. When Eclipse prompts you for a restart, click
"Restart now."
Step 8)
Step9) Right click on your Project > Click on Build Path > Configure Build
Path > Remove All Jars EXCEPT ‘JRE System Library’.
Step10) Click ‘Add External JARs.’ > Add Selenium JARS as added earlier.
Now, please follow below steps to ADD TestNG JARS to your Project in
Eclipse.
1. Go to Google > Search 'download testng' > From the Results- Click on
'Download Current Release and Beta Versions - TestNG' (testng.org › doc ›
download)
5. Cut the zip file from Downloads folder > Paste to your Software folder >
Extract (in folder) > Delete Zip file.
6. Go to Eclipse > Right click on your Project > Click on Build Path >
Configure Build Path > Add External Jars.
7. Select the Jars from the Folder extracted in Step#5 above. [Add ALL jars
from the TestNG folder > features+plugins+2 Jars (artifacts & content) at
Root].
9. Go to your Project > Expand Referenced Libraries > Jars added in Step#7
above will start appearing in the list.