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

Question, is there a way to get Extent Reports to display specflow tables like Specflow +?

Open Moshex opened this issue 4 years ago • 10 comments

Right now extent reports just displays the step and not the table to the step if there is one. is there a way to have extent reports to display the table to a step like in the screenshot below?

Untitled

Moshex avatar Jan 22 '21 22:01 Moshex

You can try with: https://www.extentreports.com/docs/versions/5/net/index.html#markup-table

This version is currently in alpha and I am trying to fix a few dependencies as well which broke due to compatibility issues with Standard/Core Tfm.

Nuget: https://www.nuget.org/packages/ExtentReports/5.0.0-alpha5

This build is nearly identical to the Java implementation, with the exception of a few features which will be available in the coming few weeks/months.

anshooarora avatar Mar 05 '21 01:03 anshooarora

@anshooarora does this version work with klov reporting? it doesn't seem to have ExtentKlovReporter implementation so wondering how can i get that to work.

MaheshGooner avatar Mar 05 '21 19:03 MaheshGooner

@anshooarora do you know if Extent reports version 5.x.x will support .Net Framework 4.8?

Moshex avatar Mar 05 '21 19:03 Moshex

@MaheshGooner yes, the Klov client will be added soon. 5.x code is completely new so only prioritizing the core API since the Klov client will be a near identical port from 4.x.

@Moshex The latest alpha-5 targets .Net Standard 2.0 which supports .NET Framework 4.6.1+.

Screen Shot 2021-03-05 at 11 27 07 AM

anshooarora avatar Mar 05 '21 19:03 anshooarora

@MaheshGooner KlovReporter is now available: https://www.nuget.org/packages/klov-reporter/5.0.0-alpha5

This is a standalone dependency in version 5 (similar to Java).

anshooarora avatar Mar 07 '21 01:03 anshooarora

That's great @anshooarora. I will let you know the feedback 👍

MaheshGooner avatar Mar 07 '21 01:03 MaheshGooner

@anshooarora Thank you for all your help! would you happen to have a code example of how to get the spec flow table to display on the report?

Moshex avatar Mar 09 '21 21:03 Moshex

@Moshex I am not sure how Specflow creates the table for examples, will look into this.

anshooarora avatar Mar 10 '21 07:03 anshooarora

fyi - entire codebase now on develop-5.0.0 branch: https://github.com/extent-framework/extentreports-csharp/tree/develop-5.0.0

anshooarora avatar Mar 10 '21 07:03 anshooarora

@anshooarora The link you posted is broken, thank you for looking into this!

Moshex avatar Mar 10 '21 18:03 Moshex