TestNG中的硒化物分析仪

问题描述 投票:1回答:1

我在TC中无法生成Profiler报告(使用TestNG)。

如在selenide.org page上所写,我添加以下内容:

@Listeners(TextReport.class)
@Report
public class GoogleTest {
   ...
}

测试正常运行,但是没有看到事件探查器报告。

您有什么想法,如何解决它并查看报告?

testng selenide
1个回答
0
投票

您应该在类路径中有slf4j

testCompile 'org.slf4j:slf4j-simple:1.7.30'添加到gradle.build中。>>

或在行家中:

<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-simple</artifactId>
    <version>1.7.30</version>
    <scope>test</scope>
</dependency>
© www.soinside.com 2019 - 2024. All rights reserved.