Page 1 of 1

How to know the total number of validation steps?

Posted: Tue Aug 09, 2011 12:44 pm
by chfischer
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

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

Posted: Thu Dec 13, 2012 4:18 pm
by NemoN
any news here?

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

Posted: Thu Dec 13, 2012 5:48 pm
by Support Team
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

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

Posted: Thu Dec 13, 2012 5:52 pm
by NemoN
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

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

Posted: Fri Dec 14, 2012 11:13 am
by Support Team
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

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

Posted: Sun Dec 16, 2012 11:09 pm
by cveith
It would be possible writing a custom report logger.

You can generate your own stats then from report data.