How to know the total number of validation steps?

Experiences, small talk, and other automation gossip.
chfischer
Posts: 20
Joined: Fri Jan 14, 2011 10:44 am

How to know the total number of validation steps?

Post by chfischer » Tue Aug 09, 2011 12:44 pm

Hi there,

We run our Ranorex tests from within Jenkins (http://www.jenkins-ci.org) as part or our continues build.
It is easy to publish the report as a website to be able to see the test's individual results. However, I want to see historical information (test results over time) which is possible if JUNIT formatted results are present.

What I now do to is transforming the RXLOG file to a JUNIT like file.

My Problem: JUNIT requires the total number of tests, number of failed tests and number of errors which have occurred. Unfortunately, I don't know how many validation steps are present in my Ranorex tests, if it fails and stops.

My Question: How could I log the total number of validation steps in the RXLOG File?

Any ideas?

Best,
Christian

NemoN
Posts: 2
Joined: Thu Dec 13, 2012 4:16 pm

Re: How to know the total number of validation steps?

Post by NemoN » Thu Dec 13, 2012 4:18 pm

any news here?

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

Re: How to know the total number of validation steps?

Post by Support Team » Thu Dec 13, 2012 5:48 pm

Hi,

Could you please describe what you exactly want to do?
Do you want to transform the RXLOG file to a JUNIT file or something else?
Do you know our blog about Integrating Ranorex Automation in Jenkins CI Process?

Regards,
Markus
.
Image

NemoN
Posts: 2
Joined: Thu Dec 13, 2012 4:16 pm

Re: How to know the total number of validation steps?

Post by NemoN » Thu Dec 13, 2012 5:52 pm

i know the blog post. we want i integrate the reports into our jenkins installation.
currently jenkins can't parses the xml output from ranorex (rxlog). So we need some magic to generate junit from rxlog to show charts like this: http://sahi.co.in/w/images/3.png

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

Re: How to know the total number of validation steps?

Post by Support Team » Fri Dec 14, 2012 11:13 am

Hello,

Unfortunately Ranorex has no feature to generate junit from rxlog.
The subject has already been treated in the post 'Hudson CI & Ranorex Reports' in our forum. Christian uses a xslt style sheet which transforms rxlog into junit.

Regards,
Bernhard
.
Image

cveith
Posts: 7
Joined: Mon Oct 31, 2011 10:08 am

Re: How to know the total number of validation steps?

Post by cveith » Sun Dec 16, 2012 11:09 pm

It would be possible writing a custom report logger.

You can generate your own stats then from report data.