The successful/failed information is implicit in the colour-coding - green for success and red for failure.

If you want you can adapt your the html report template to prepend/append the words. Look for macro called renderStep.

Cheers

On 30/03/2015 19:23, Patel, Nikunj (GE Healthcare) wrote:

Hi,

I would like know if there is a way to add additional logging in HTML report specially for successful steps. We are required to provide objective evidence in test results and as part of it we are thinking to add “PASSED” or “SUCCESS” before/after each successful step.

What do you suggest to achieve above goal?

Approaches I took so far:

1. I tried it below class which is writing info in log4j.txt file but I really want add info in HTML report.

cid:image001.png@01D06ADF.46CEBEB0

2.I am thinking about creating custom freemarker template using jbehave-html-output.ftl but not sure it will work.

Thanks,

Nikunj


Reply via email to