提问人:Mandy 提问时间:10/13/2023 更新时间:10/13/2023 访问量:18
无法看到 maven selenium 项目中@Test注解下的“运行”按钮
Unable to See Run button under the @Test annotation in maven selenium project
问:
我最近使用 Maven 和 TestNg 安装了 selenium webdriver。我在 pom 中添加了所有依赖项.xml但不知道为什么我在测试类的@test注释下看不到运行按钮,因此我无法运行测试。
如果有人可以帮忙,请。
答:
0赞
Lesy Reeds
10/13/2023
#1
尝试在 IntelliJ IDEA 中重新导入 Maven 项目并重新构建它
评论
0赞
Mandy
10/13/2023
感谢您的回复,但知道为什么它在 eclipse 中不起作用吗?
0赞
murali selenium
10/13/2023
#2
在 eclipse https://testng.org/doc/download.html 中安装 TestNG 插件,安装后,将 testNG 库添加到项目中,然后尝试
评论