TestNG not Compatible with Eclipse Luna and Eclipse Indigo

5.1k views Asked by At

I installed TestNG in Eclipse Luna and Eclipse Indigo but TestNG is not showing in the preferences window. I followed right step 2 times as mentioned at below link

http://www.guru99.com/all-about-testng-and-selenium.html

It is giving me the same problem in both versions of Eclipse... Any suggestion how to start working with TestNG?

6

There are 6 answers

0
Mahadev Gouda On

For me this worked

I have installed latest version of the eclipse.

To install TestNG

Go to help->

enter image description here

Then Install new software->

enter image description here

Next enter this url : https://testng.org/testng-eclipse-update-site

enter image description here

Next stpes you will get to know

Enter the url and click on add It prompts a dialogue there enter the "TestNG" then again enter the url add -> accept the certificate and booom you are good to use.

0
Vivek Dhiman On

May be late to the Party but this works for me:

Install from update site
Select Help / Install New Software...
Enter the update site URL in "Work with:" field:
Update site for release: https://dl.bintray.com/testng-team/testng-eclipse-release/.
Make sure the check box next to URL is checked and click Next.
Eclipse will then guide you through the process.

Link

0
NaN On

I see, the question is quite old but I faced the same symptoms. For me the solution to this problem was to upgrade my Java installation from 1.6 to 1.8. After that the TestNG pluggin worked as expected.

3
Tijo On

Had to install eclipse 2018-09(4.9.0) to resolve the 'TestNG not compatible with the eclipse version' issue. With Java 1.8

0
Krishna Kumar Singh On

Only these versions of Eclipse are supported now
Eclipse Versions: Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), Photon (4.8), 2018-09 (4.9)
Java Version: Java 1.7+ is required for running the TestNG for Eclipse plugin.
For any update follow this link: https://marketplace.eclipse.org/content/testng-eclipse

1
bkirchle On

I faced the same issue with eclipse 2019-06 using the marketplace.

I could install TestNG using Help->Install new software...

The update site to fill into Work with was http://beust.com/eclipse for me.