extentreports-csharp icon indicating copy to clipboard operation
extentreports-csharp copied to clipboard

Issues with ChildNodes & Configuration

Open ishah09 opened this issue 6 years ago • 0 comments

Technical Specification

Extent Report : Version 3.1.3 Supported Language: C# Supported Framework : NUnit 3.11.0

Issue-1 : Extent Report C# does not support second child node of its parent test,

Example:

        ExtentTest parentTest;
        ExtentTest childTest;

        parentTest= extent.CreateTest("First method");
        parentTest.Info(parentDirName);            

        childTest = parentTest.CreateNode("Node1");
        childTest = childTest.CreateNode("Node2");
        childTest = parentTest.CreateNode("Node3");

        parentTest= extent.CreateTest("Second method");

Here Node2 should be child node of Node1, But it does not creating child node from Node1. Its just creating Child node up to root 1.

HTML :

image

Same code is working in Java:

image

Issue 2: Configuration settings does not reflecting to Report.

htmlReporter.Configuration().ReportName = "Temp Headline"; htmlReporter.Configuration().Theme = Theme.Dark; htmlReporter.Configuration().DocumentTitle = "Temp title";

ishah09 avatar Nov 30 '18 09:11 ishah09