Page 1 of 1

Hudson CI & Ranorex Reports

Posted: Tue Dec 14, 2010 4:49 pm
by Gunner1980
Has anyone had any success integrating the Ranorex reports created into Hudson CI? If so how did you do it? I have tried converting the Ranorex generated reports into Junit format which Hudson is supposed to support however this doesn't work and Hudson fails to read in the resulting xml that is created.

Is anyone else using Hudson CI?

I am this close to having our continuous integration system up and running this is the last piece of the puzzle.

Re: Hudson CI & Ranorex Reports

Posted: Mon Jan 17, 2011 2:14 pm
by chfischer
Any progress with it? We will use Hudson as well.. and like to integrate ranorex..

Re: Hudson CI & Ranorex Reports

Posted: Tue Feb 15, 2011 4:01 pm
by hschmitt
We have integrated Ranorex via NUnit with Hudson. There is blog article about Ranorex & NUnit.

Re: Hudson CI & Ranorex Reports

Posted: Tue May 24, 2011 10:32 am
by chfischer
I have this now, using transform (http://saxon.sourceforge.net/) to create an HTML-report and publish it with the HTML Publish plugin.

Do you need more details?

Re: Hudson CI & Ranorex Reports

Posted: Thu Aug 11, 2011 5:09 pm
by chfischer
I have a xslt style sheet which transforms rxlog into junit and use https://wiki.jenkins-ci.org/display/JEN ... nit+Plugin to apply the style sheet.

Successful and failed tests are displayed correctly now still missing is the time/duration of the tests. I will add that soon.

Christian

Re: Hudson CI & Ranorex Reports

Posted: Mon Sep 05, 2011 3:59 pm
by timbuethe
@chfischer: would you mind to share your xslt?

Re: Hudson CI & Ranorex Reports

Posted: Thu Mar 08, 2012 10:44 am
by m.grundner
Hi!
We are using a quite similar build configuration, works like a charm.

@chfisher Can you please share the xslt file?

greetz, Manuel

Re: Hudson CI & Ranorex Reports

Posted: Wed May 29, 2013 11:39 am
by slw
Dear Ranorex Team,

since integration of Ranorex tests into a CI server workflow was discussed in this forum multiple times and since none of the major CI server (including Jenkins/Hudson) supports Ranorex results format (rxlog.data) I would like to ask if one of following alternatives is possible:
  • extend Ranorex functionality so that in test-suite settings there will be setting "Test results format" and possible values: "Ranorex (rxlog.data)", "xUnit/jUnit", "Both". Then if integration of Ranorex tests with a CI server is necessary, it would be possible to select "xUnit/JUnit" or "Both" and make the CI server parse the xUnit results file (to be able to create test results trend chart, etc.)
  • if the first solution is currently not possible (or too time consuming for the Ranorex team) maybe it would be possible to publish an "official" Ranorex XSLT file which could be use to transform the results from Ranorex (rxlog.data) into xUnit format.

Re: Hudson CI & Ranorex Reports

Posted: Fri May 31, 2013 2:15 pm
by Support Team
Hello,

Unfortunately at the moment it is not planned to provide other formats for the Ranorex Report than the current one, but I will treat this as feature request and we will discuss internally if we can provide such a feature.
Thank you for the suggestions.

Regards,
Bernhard

Re: Hudson CI & Ranorex Reports

Posted: Thu Jul 25, 2013 1:00 am
by caleb
Hi

This is something that our team would also like to be able to do. Has anyone created an xslt file that they would be prepared to share?

I second the suggestion by @slw, either of the alternatives would suit us well.

Thanks
Caleb

Re: Hudson CI & Ranorex Reports

Posted: Thu Jul 25, 2013 9:20 am
by timbuethe
I created a gist from Christian's XSLT:
https://gist.github.com/timbuethe/6077810

How to use: XSLT to transform Ranorex test protocols to xUni

Posted: Thu Aug 15, 2013 12:38 pm
by atam
Hi,

We need to generate our reports to XUNIT format (to show in Jenkins) and we have found the following:

https://gist.github.com/timbuethe/6077810

How do we use this file, do we just replace the contents of: RanorexReport4.xsl in the Reports directory?

Thanks

Re: Hudson CI & Ranorex Reports

Posted: Tue Aug 27, 2013 3:45 am
by caleb
timbuethe wrote:I created a gist from Christian's XSLT:
https://gist.github.com/timbuethe/6077810
Thanks very much for sharing the XSLT, it worked for us straight out of the box

For those who are unclear on how to use it.
1. Add a post build action "Create xUnit test result report" and Add a "Custom Tool"
2. In the pattern text box point jenkins to the ranorex result xml (file ending with ".rxlog.data")
3. In the custom stylesheet text box give the relative url for the xslt that you have just downloaded and saved

Re: Hudson CI & Ranorex Reports

Posted: Wed Apr 16, 2014 8:43 am
by Support Team
Hi,

please have a look at our blog post regarding the integration of Ranroex Report with Jenkins CI using xUnit:
http://www.ranorex.com/blog/make-your-r ... sing-xunit

Kind regard,
Roland (E)
Ranorex Team