Hudson CI & Ranorex Reports

Experiences, small talk, and other automation gossip.
User avatar
Gunner1980
Posts: 89
Joined: Mon Apr 05, 2010 8:44 pm
Location: Austin, Texas

Hudson CI & Ranorex Reports

Post by Gunner1980 » Tue Dec 14, 2010 4:49 pm

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.

chfischer
Posts: 20
Joined: Fri Jan 14, 2011 10:44 am

Re: Hudson CI & Ranorex Reports

Post by chfischer » Mon Jan 17, 2011 2:14 pm

Any progress with it? We will use Hudson as well.. and like to integrate ranorex..

hschmitt
Posts: 3
Joined: Tue Feb 15, 2011 3:56 pm

Re: Hudson CI & Ranorex Reports

Post by hschmitt » Tue Feb 15, 2011 4:01 pm

We have integrated Ranorex via NUnit with Hudson. There is blog article about Ranorex & NUnit.

chfischer
Posts: 20
Joined: Fri Jan 14, 2011 10:44 am

Re: Hudson CI & Ranorex Reports

Post by chfischer » Tue May 24, 2011 10:32 am

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?

chfischer
Posts: 20
Joined: Fri Jan 14, 2011 10:44 am

Re: Hudson CI & Ranorex Reports

Post by chfischer » Thu Aug 11, 2011 5:09 pm

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

timbuethe
Posts: 15
Joined: Mon Aug 22, 2011 11:08 am

Re: Hudson CI & Ranorex Reports

Post by timbuethe » Mon Sep 05, 2011 3:59 pm

@chfischer: would you mind to share your xslt?

m.grundner
Posts: 1
Joined: Thu Mar 08, 2012 10:19 am

Re: Hudson CI & Ranorex Reports

Post by m.grundner » Thu Mar 08, 2012 10:44 am

Hi!
We are using a quite similar build configuration, works like a charm.

@chfisher Can you please share the xslt file?

greetz, Manuel

slw
Posts: 9
Joined: Mon Apr 15, 2013 6:32 pm

Re: Hudson CI & Ranorex Reports

Post by slw » Wed May 29, 2013 11:39 am

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Hudson CI & Ranorex Reports

Post by Support Team » Fri May 31, 2013 2:15 pm

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
.
Image

caleb
Posts: 24
Joined: Mon Jul 08, 2013 3:35 am

Re: Hudson CI & Ranorex Reports

Post by caleb » Thu Jul 25, 2013 1:00 am

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

timbuethe
Posts: 15
Joined: Mon Aug 22, 2011 11:08 am

Re: Hudson CI & Ranorex Reports

Post by timbuethe » Thu Jul 25, 2013 9:20 am

I created a gist from Christian's XSLT:
https://gist.github.com/timbuethe/6077810

atam
Posts: 15
Joined: Wed Jan 16, 2013 2:58 pm
Contact:

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

Post by atam » Thu Aug 15, 2013 12:38 pm

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

caleb
Posts: 24
Joined: Mon Jul 08, 2013 3:35 am

Re: Hudson CI & Ranorex Reports

Post by caleb » Tue Aug 27, 2013 3:45 am

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

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Hudson CI & Ranorex Reports

Post by Support Team » Wed Apr 16, 2014 8:43 am

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
.
Image