TestNG Installation Steps In Eclipse
Step 1 : Open Eclipse and go to Menu Help -> Install New Software.
It will open new software installation window as shown in bellow given image.
Step 2 : In new software installation window, Type URL = http://beust.com/eclipse exactly in Work with field and click on Add button as shown in bellow given image.
It will show you option TestNG with check box. Select that check box and click on Next Button as shown in above image.
When you click on Next button, it will check for requirements and dependency first.
TestNG will take few minutes to finish its installation when you click on finish button.
Step 3 : Now you need to verify that TestNG is installed in your eclipse or not.
To verify Go to Eclipse’s Menu Window -> Show View -> Others as shown in bellow given image.
It will open Show View window. Expand java folder as shown in bellow given image and verify that TestNG is available inside it or not. If it is there means TestNG is installed successfully in eclipse.
13 thoughts on “Steps Of Downloading And Installing Testng In Eclipse For WebDriver”
I am waiting for the next post 🙂
Nice post:)
Very nice post:)
It's really very helpful for beginner.
In Step 2 : after selecting the TestNG checkbox clicking on next button lads to error in my case. Please help, i am a beginner.
Error I am facing is listed below:
Cannot complete the install because one or more required items could not be found.
Software being installed: TestNG M2E Integration (Optional) 6.9.10.201512240000 (org.testng.eclipse.maven.feature.feature.group 6.9.10.201512240000)
Missing requirement: TestNG M2E Integration 6.9.10.201512240000 (org.testng.eclipse.maven 6.9.10.201512240000) requires 'bundle org.eclipse.m2e.core 1.5.0' but it could not be found
Cannot satisfy dependency:
From: TestNG M2E Integration (Optional) 6.9.10.201512240000 (org.testng.eclipse.maven.feature.feature.group 6.9.10.201512240000)
To: org.testng.eclipse.maven [6.9.10.201512240000]
Try with Eclipse Luna. For me it was solution to the same problem. I had old eclipse version.
Try with another eclipse version. For me it was a fix for to the same problem.
My issue got resolved when I used Eclipse Luna. I am really tankful Karoljagla for the help.
No need to try with other version. Just uncheck the TestNG M2E Integration(optional) in "confirm selected features" page & then click on next. Definitely it will get installed.
No need to try with other version. Just uncheck the TestNG M2E Integration(optional) in "confirm selected features" page & then click on next. Definitely it will get installed.
its install after unchecking TestNG M2E Integration(optional)
i am getting a problem .after add burtton……no chck box with testng instead it is showing add repository name & location
Hi All,
you can install testNG in this way also.
Step 1 : Open Eclipse and go to Menu Help -> Eclipse marketplace.
Step 2: Type testNG under find option and click on go.
Step 3: It will show TestNG for eclipse,click on install.