How to customize HTML reports

The data for the reports is fetched from the database and processed through xsl files and finally presented in the UI. Any customization in presentation can be done by modifying the xsl files.

By default, XSL files for html reports are present in config/reports/html/. They can be overridden in userdata/config/reports/html/ folder. Sahi will first look for any report xsl for html in userdata/config/reports/html/. If it is not found, it will default to config/reports/html/.

To modify an existing xsl, copy it over into userdata/config/reports/html/. Eg. if you want to modify config/reports/html/suites_list.xsl, copy it such that you have userdata/config/reports/html/suites_list.xsl. Now modify this copied file as needed.

Similarly, it is possible to customize other reports (excel, etc) in Sahi.

infoRefer below link for details.