# Customize Report

**URL:** <https://forum.robotframework.org/t/customize-report/5805>\
**Category:** Robot Framework\
**Created:** [9 June 2023 09:05 UTC](https://forum.robotframework.org/t/customize-report/5805 "2023-06-09T09:05:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![watanak](https://avatars.discourse-cdn.com/v4/letter/w/e9bcb4/32.png) [@watanak](https://forum.robotframework.org/u/watanak)\
**Post date:** [9 June 2023 09:05 UTC](https://forum.robotframework.org/t/customize-report/5805/1 "2023-06-09T09:05:11Z")

</div>

Hello team, do we have the way to customize report for robot framework?

---

<div class="post-metadata">

**Author:** ![damies13](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/damies13/32/623_2.png) [@damies13](https://forum.robotframework.org/u/damies13)\
**Post date:** [9 June 2023 12:00 UTC](https://forum.robotframework.org/t/customize-report/5805/2 "2023-06-09T12:00:35Z")

</div>

Hi Watanak,

What sort of customisation do you want? progressing from simple to complex:

- If it’s something simple like formatting the output from a keyword then [Log](https://robotframework.org/robotframework/latest/libraries/BuiltIn.html#Log) has the capability to inject html into the report

- For an intermediate level customisation I guess you might be able to get `Log` to inject a style override css or some custom java script? I’ve not tried this but I guess it might work.

- For more complex formatting the report is available as XML so you can apply your own XSLT to generate the HTML with what ever layout you want or even just have the HTML page apply the XSLT to the XML in the browser if you want

- There are other more complex options, most involve programming, but the ones above should cover most of what you would want to do.

It really depends how much customisation you want to do and how much effort you want to spend on it.

Dave.

---

<div class="post-metadata">

**Author:** ![watanak](https://avatars.discourse-cdn.com/v4/letter/w/e9bcb4/32.png) [@watanak](https://forum.robotframework.org/u/watanak)\
**Post date:** [13 June 2023 07:58 UTC](https://forum.robotframework.org/t/customize-report/5805/3 "2023-06-13T07:58:22Z")

</div>

Example: I want to add and custom column name in Robot Report. So how can I do it?

---

<div class="post-metadata">

**Author:** ![TextSolver34761](https://avatars.discourse-cdn.com/v4/letter/t/9de0a6/32.png) [@TextSolver34761](https://forum.robotframework.org/u/TextSolver34761)\
**Post date:** [16 December 2023 11:03 UTC](https://forum.robotframework.org/t/customize-report/5805/4 "2023-12-16T11:03:31Z")

</div>

Hi,  
Have you looked at [GitHub - adiralashiva8/robotframework-metrics: Generation of metrics report based on robotframework output.xml](https://github.com/adiralashiva8/robotframework-metrics) ?  
if you have and it didn’t work the expected way, you could try with your custom code with the rf api ! [Robot Framework API documentation — Robot Framework 7.0a2.dev1 documentation](https://robot-framework.readthedocs.io/en/master/index.html)

Maybe a mix of both would / can do the trick ?

Best,  
TextSolver34761
