
答案1
嘗試安裝這個 Eclipse。我安裝了另一個版本,你和我也遇到了同樣的問題。但在 Eclipse IDE 中,對 Java 開發人員來說 TestNG 是可用的。如果您需要更多幫助,也可以嘗試此連結:https://www.toolsqa.com/selenium-webdriver/install-testng/
答案2
現在僅支援這些版本的 Eclipse
Eclipse 版本:氧氣(4.7)、氖氣(4.6)、火星(4.5)、月球(4.4)、開普勒(4.3)、朱諾(4.2, 3.8)、朱諾之前(<=4.1)、光子(4.8), 2018-09 ( 4.9)
Java版本:執行 TestNG for Eclipse 外掛程式需要 Java 1.7+。
對於任何更新,請點擊此連結:https://marketplace.eclipse.org/content/testng-eclipse
答案3
我已經解決了這個問題,沒有升級eclipse。
去:https://testng.org/doc/download.html
並嘗試透過eclipse市場下載插件。 https://beust.com/eclipse
如果這不起作用,請嘗試刪除 s>http://beust.com/eclipse