anshooarora / extentreports-csharp

Community version of Extent API for .NET has moved to https://github.com/extent-framework/
http://extentreports.com/
Other
47 stars 43 forks source link

Issues with ChildNodes & Configuration #141

Open ishah09 opened 5 years ago

ishah09 commented 5 years ago

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";