Page 1 of 1

Customised XSL for Report

Posted: Thu Jul 23, 2009 2:44 pm
by atom
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

Re: Customised XSL for Report

Posted: Mon Jul 27, 2009 8:36 am
by Support Team
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