Hi, 

your best option is to create your own version of the template that generates 
the reports view page (jbehave-reports.ftl).

https://github.com/jbehave/jbehave-core/tree/master/jbehave-core/src/main/resources/ftl
 
<https://github.com/jbehave/jbehave-core/tree/master/jbehave-core/src/main/resources/ftl>

You can define your own custom template and remote the information that is not 
needed. 

ATM the template outputs to HTML but you can easily adapt it to output to CSV.

Similarly, for the story-level output you can adapt the 
jbehave-html-output.ftl. 

In the core examples you’ll find an example of how to define your own templates 
(look for CustomCoreStories). 

https://github.com/jbehave/jbehave-core/tree/master/examples/core 
<https://github.com/jbehave/jbehave-core/tree/master/examples/core>

Cheers

> On 25 Feb 2017, at 20:20, 'KumarB' via JBehave User 
> <[email protected]> wrote:
> 
> I am trying to get the JBehave result in CSV format at the story level with 
> only following 3 columns - Story Path, Status(Passed/Failed) & Test Failure 
> Message or Stacktrace for each Story. I have a web application automated 
> using Selenium and Java using JBhevae BDD framework. Is there any Listener or 
> any JBehave class that i can override in my Main class to get all the 3 
> parameters?
> 
> Regards,
> Kumar
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "JBehave User" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web, visit 
> https://groups.google.com/d/msgid/jbehave-user/e92cce32-c1ec-449a-8d9b-c6861c9a3dd3%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jbehave-user/e92cce32-c1ec-449a-8d9b-c6861c9a3dd3%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"JBehave User" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/jbehave-user/8A9988CB-F7D2-4DB3-93DC-4E4E07812DDF%40aquilonia.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to