Hudson CI & Ranorex Reports : Automation Discussions

Hudson CI & Ranorex Reports

Experiences, small talk, and other automation gossip.

Hudson CI & Ranorex Reports

Postby Gunner1980 » Tue Dec 14, 2010 5: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.
User avatar
Gunner1980
 
Posts: 89
Joined: Mon Apr 05, 2010 9:44 pm
Location: Austin, Texas

Re: Hudson CI & Ranorex Reports

Postby chfischer » Mon Jan 17, 2011 3:14 pm

Any progress with it? We will use Hudson as well.. and like to integrate ranorex..
chfischer
 
Posts: 20
Joined: Fri Jan 14, 2011 11:44 am

Re: Hudson CI & Ranorex Reports

Postby hschmitt » Tue Feb 15, 2011 5:01 pm

We have integrated Ranorex via NUnit with Hudson. There is blog article about Ranorex & NUnit.
hschmitt
 
Posts: 3
Joined: Tue Feb 15, 2011 4:56 pm

Re: Hudson CI & Ranorex Reports

Postby chfischer » Tue May 24, 2011 11: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 11:44 am

Re: Hudson CI & Ranorex Reports

Postby chfischer » Thu Aug 11, 2011 6: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
chfischer
 
Posts: 20
Joined: Fri Jan 14, 2011 11:44 am

Re: Hudson CI & Ranorex Reports

Postby timbuethe » Mon Sep 05, 2011 4:59 pm

@chfischer: would you mind to share your xslt?
timbuethe
 
Posts: 15
Joined: Mon Aug 22, 2011 12:08 pm

Re: Hudson CI & Ranorex Reports

Postby m.grundner » Thu Mar 08, 2012 11: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
m.grundner
 
Posts: 1
Joined: Thu Mar 08, 2012 11:19 am

Re: Hudson CI & Ranorex Reports

Postby slw » Wed May 29, 2013 12:39 pm

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.
slw
 
Posts: 9
Joined: Mon Apr 15, 2013 7:32 pm

Re: Hudson CI & Ranorex Reports

Postby Support Team » Fri May 31, 2013 3: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
User avatar
Support Team
Site Admin
Site Admin
 
Posts: 9056
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Hudson CI & Ranorex Reports

Postby caleb » Thu Jul 25, 2013 2: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
caleb
 
Posts: 24
Joined: Mon Jul 08, 2013 4:35 am

Re: Hudson CI & Ranorex Reports

Postby timbuethe » Thu Jul 25, 2013 10:20 am

I created a gist from Christian's XSLT:
https://gist.github.com/timbuethe/6077810
timbuethe
 
Posts: 15
Joined: Mon Aug 22, 2011 12:08 pm

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

Postby atam » Thu Aug 15, 2013 1: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
atam
 
Posts: 15
Joined: Wed Jan 16, 2013 3:58 pm

Re: Hudson CI & Ranorex Reports

Postby caleb » Tue Aug 27, 2013 4: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
caleb
 
Posts: 24
Joined: Mon Jul 08, 2013 4:35 am

Re: Hudson CI & Ranorex Reports

Postby Support Team » Wed Apr 16, 2014 9: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-ranorex-report-fully-comprehensible-for-jenkins-by-using-xunit

Kind regard,
Roland (E)
Ranorex Team
.
Image
User avatar
Support Team
Site Admin
Site Admin
 
Posts: 9056
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation Discussions

Who is online

Users browsing this forum: No registered users and 0 guests