Scenario
User Details form entry verification
@@ -388,19 +388,19 @@
Dashboard
Start
-
27-04-2018 22:48:24
+
12-05-2018 00:05:15
End
-
27-04-2018 22:49:02
+
12-05-2018 00:05:54
Time Taken
-
00:00:37.6070187
+
00:00:38.9804721
diff --git a/SpecflowParallelTest/Hooks.cs b/SpecflowParallelTest/Hooks.cs
index ca95f2c..157624c 100644
--- a/SpecflowParallelTest/Hooks.cs
+++ b/SpecflowParallelTest/Hooks.cs
@@ -8,6 +8,7 @@
using AventStack.ExtentReports;
using AventStack.ExtentReports.Reporter;
using AventStack.ExtentReports.Gherkin.Model;
+using System;
namespace SpecflowParallelTest
{
@@ -18,6 +19,7 @@ public class Hooks
private static ExtentTest featureName;
private static ExtentTest scenario;
private static ExtentReports extent;
+ private static KlovReporter klov;
private readonly IObjectContainer _objectContainer;
@@ -36,7 +38,19 @@ public static void InitializeReport()
htmlReporter.Configuration().Theme = AventStack.ExtentReports.Reporter.Configuration.Theme.Dark;
//Attach report to reporter
extent = new ExtentReports();
- extent.AttachReporter(htmlReporter);
+ klov = new KlovReporter();
+
+ klov.InitMongoDbConnection("localhost", 27017);
+
+ klov.ProjectName = "ExecuteAutomation Test";
+
+ // URL of the KLOV server
+ klov.KlovUrl = "http://localhost:5689";
+
+ klov.ReportName = "Karthik KK" + DateTime.Now.ToString();
+
+
+ extent.AttachReporter(htmlReporter, klov);
}
[AfterTestRun]