XmlLogger - doesn't take care of the Xsl file parameter

Class library usage, coding and language questions.
palbaret
Posts: 26
Joined: Wed Jun 27, 2012 4:21 pm

XmlLogger - doesn't take care of the Xsl file parameter

Post by palbaret » Tue Jul 17, 2012 11:01 am

Hi everyone,

i'm in trouble with the XmlLogger object.

for all my testsuites, I want to use a specific xsl file.
I modify the program.vb by adding before starting all my testsuites

Code: Select all

	XmlLogger.SetReportStylesheetFile("c:\MyCustomXslFileReport.xsl")
        XmlLogger.ReportStylesheetUrl="c:\MyCustomXslFileReport.xsl"
But always rxlog generated references the standard ranorex3.xsl file.

I don't understand how it works and how I can use my own xsl file.

thanks for your help.

Patrick.

Ps: i'm using Ranorex 3.2.0

User avatar
sdaly
Posts: 238
Joined: Mon May 10, 2010 11:04 am
Location: Dundee, Scotland

Re: XmlLogger - doesn't take care of the Xsl file parameter

Post by sdaly » Tue Jul 17, 2012 12:50 pm

I used to set this by setting the public field directly and it worked OK - XmlLogger.ReportStylesheetUrl = stylesheetPath;