Hiya
Ranorex reports are nice...
But is there a way to make the generated xml file use a custom XSL and not the Ranorex one?
Basically I'd like to customise the following:
- Replace Ranorex logo with our company logo
- Replace the text "Ranorex Test Report" with the name of the test case
Thanks
Customised XSL for Report
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Customised XSL for Report
Hi atom,
you can modify the RanorexReport.xsl file to set customised style attributes.
If you want to change the logo, add the 'header-top' formatting object to the RanorexReport.xsl(within the '<style type="text/css">' block):
e.g.
#header-top #logo a
{
margin: 0 0 0 17px;
width: 180px;
height: 45px;
display:block;
background: url(/*whatever*/) no-repeat;
}
You can`t replace the 'Ranorex Test Report' text because it`s set directly in the auto-generated '.rxrep'(.xml) file.
Regards,
Christian
Support Team
you can modify the RanorexReport.xsl file to set customised style attributes.
If you want to change the logo, add the 'header-top' formatting object to the RanorexReport.xsl(within the '<style type="text/css">' block):
e.g.
#header-top #logo a
{
margin: 0 0 0 17px;
width: 180px;
height: 45px;
display:block;
background: url(/*whatever*/) no-repeat;
}
You can`t replace the 'Ranorex Test Report' text because it`s set directly in the auto-generated '.rxrep'(.xml) file.
Regards,
Christian
Support Team