Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

Extent Report 3.1.2 Customized Summary report #1101

Open

Description

@raghunnandan

Summary

I am using extent report 3.1.2 to generate Automation test summary report in Cucumber framework . I am stuck up in implement couple of customized requests from Client .

Client Request : Hierarchy would be Suite ( Left Side of the page in the report)--> Parent (Right side of the page in the report )--> Child ( under Parent )--> Grand Child (Under Child)

Current Behavior

I am able to create Execution results in report in below manner.
Test name (Parent )--> Child (validation points)--> Grand Child (Steps under validation points)

Please let me know can we Implement in extent report ? . I tried few things but facing issue . Please help me know on this.

reportpblm

Thanks in Advance.
Raghunandan N

Activity

  1. foursyth commented on Aug 16, 2018

    @foursyth

    See here: https://github.com/email2vimalraj/CucumberExtentReporter/blob/master/src/main/java/com/vimalselvam/cucumber/listener/ExtentCucumberFormatter.java

    You can modify this implementation to add the suiteTestThreadLocal as well:

    public void feature(Feature feature) {
    	featureTestThreadLocal.set(getExtentReport().createTest(com.aventstack.extentreports.gherkin.model.Feature.class, feature.getName()));
    	ExtentTest test = featureTestThreadLocal.get();
    
    	for (Tag tag : feature.getTags()) {
    		test.assignCategory(tag.getName());
    	}
    }
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions