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.
Hudson CI & Ranorex Reports
- Gunner1980
- Posts: 89
- Joined: Mon Apr 05, 2010 8:44 pm
- Location: Austin, Texas
Re: Hudson CI & Ranorex Reports
Any progress with it? We will use Hudson as well.. and like to integrate ranorex..
Re: Hudson CI & Ranorex Reports
We have integrated Ranorex via NUnit with Hudson. There is blog article about Ranorex & NUnit.
Re: Hudson CI & Ranorex Reports
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?
Do you need more details?
Re: Hudson CI & Ranorex Reports
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
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
@chfischer: would you mind to share your xslt?
-
- Posts: 1
- Joined: Thu Mar 08, 2012 10:19 am
Re: Hudson CI & Ranorex Reports
Hi!
We are using a quite similar build configuration, works like a charm.
@chfisher Can you please share the xslt file?
greetz, Manuel
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
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:
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.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Hudson CI & Ranorex Reports
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
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
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
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
I created a gist from Christian's XSLT:
https://gist.github.com/timbuethe/6077810
https://gist.github.com/timbuethe/6077810
How to use: XSLT to transform Ranorex test protocols to xUni
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
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
Thanks very much for sharing the XSLT, it worked for us straight out of the boxtimbuethe wrote:I created a gist from Christian's XSLT:
https://gist.github.com/timbuethe/6077810
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
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Hudson CI & Ranorex Reports
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
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