Sorry one more question in the custom-html-output.ftl I would like the output on success to display a result like the following:
Scenario: MyTest Given I go to "http://www.google.com" When I sign in with "myaccount" and "mypassword" Then I expect to see "[email protected]" (PASSED Result = "[email protected]") I can see in the custom-html-output.ftl the line for the failure case. <#if step.getFailure()??><pre class="failure">${step.failureCause}</pre></#if> Is there one for the success case like <#if step.getSuccess()??><pre class="success">${step.successCause}</pre></#if> And how do I write to the step.failureCause/step.successCause from my stories.java file? Alternately is there a way to write to the Jbehave project html via system.out.print ? Thanks, Brooks From: Foley, Brooks (GE Healthcare) Sent: Friday, October 26, 2012 2:50 PM To: [email protected] Subject: [jbehave-user] How to use a custom report.ftl I can see from the Trader example how to implement a custom-html-output.ftl. How would I do this for the a custom-report.ftl replacing the jbehave-reports.ftl? Thanks, Brooks
