以TestNG的方式运行时出现错误“在以下期间发生内部错误:“启动测试文件”

时间:2019-04-25 12:45:45

标签: eclipse selenium automation automated-tests testng

我是TestNG框架的新手。我已经安装了TestNG,并且在C驱动器中有TestNG jar,并且还在TestNG中添加了POM.xml依赖项。

<dependency>

<groupId>org.testng</groupId>

<artifactId>testng</artifactId>

<version>6.14.3</version>

<scope>test</scope>

</dependency>

当我执行以TestNG的方式运行时,它显示以下错误

  

“在以下期间发生内部错误:“启动测试文件”。   org / testng / eclipse / launch / ITestNGLaunchConfigurationProvider.getClasspath(Lorg / eclipse / debug / core / ILaunchConfiguration;)Ljava / util / List;“

请帮助我解决此问题。

谢谢, 穆罕默德(Mohamed)

我尝试在Eclipse中卸载TestNG M2E Integration(可选)。但是卸载按钮被禁用。我可以看到只有更新按钮处于启用状态。

0 个答案:

没有答案