设置Klov具有范围报告,显示构建,但没有可用的项目



我试图通过一个新项目首次设置klov。我已经安装了MongoDB的正确版本,并具有Klov Jar。在进行测试之前,我都会在CMD中运行。当我在浏览器中查看我的KLOV报告时,我会发现构建正在发生,但是"选择您的项目"中没有列出的项目:有人知道为什么我可能会有这个错误吗?

我遵循了其他建议,但似乎Klov语法已更改。

    private static ExtentKlovReporter klov;
        var htmlReporter = new ExtentHtmlReporter(@"C:file/path/.html");
        htmlReporter.Config.Theme = AventStack.ExtentReports.Reporter.Configuration.Theme.Dark;
        extent = new ExtentReports();
        extent.AttachReporter(htmlReporter);
        klov = new ExtentKlovReporter();
        klov.InitMongoDbConnection("localhost", 27017);
        klov.ProjectName = "ExecuteAutomation Test";
        klov.InitKlovServerConnection("http://localhost:5689");
        klov.ReportName = "Time "+ DateTime.Now.ToString();

        extent.AttachReporter(htmlReporter);

    }

我看到了构建,但没有项目。

在范围内。

而不是latch.attachreporter(htmlreporter(;你需要打电话范围。

最新更新