Skip to content

Ranorex
Syndicate content
Latest news from Ranorex
Updated: 7 hours 48 min ago

Upcoming European Training Courses

17 hours 36 min ago
We are very pleased to remind you about our upcoming European Ranorex training courses, scheduled for June.

During the 2-day training workshops participants learn about the fundamentals of test automation and get to practice how to use Ranorex tools hands-on. 

Jun 2-3

09:00AM - 04:30PM GMT

Ranorex Studio Introduction Training Course

London, UK

Jun 3-4

09:30AM - 05:00PM CET

Basisschulung – Test-Automatisierung mit Ranorex

Frankfurt, Germany


Please have a look at the upcoming training events schedule for the complete schedule.

We look forward to seeing you there!

Categories: Companies

Make your Ranorex Report fully comprehensible for Jenkins by using xUnit

Tue, 04/15/2014 - 16:53

A Ranorex test automation project creates an executable file which returns a two-state test result indicating a success or a failure. Continuous Integration (CI) tools like Jenkins, Hudson, TeamCity, CruiseControl, Bamboo etc. are able to call automated tests and do understand these two-state test results. This is similar with ALM tools like Polarion or Jira. In short, in the world of CI and ALM, test automation results are reflected by a single flag, success or failure.

This blog describes how a Ranorex Report can be automatically transformed into xUnit format by using an XSL Transformation (XSLT). This transformation allows the CI tool to fully understand the result of each test case, not only whether the entire test run passed or failed.



The following example shows how UI test results can be interpreted following the same standards as xUnit tests do. Furthermore an example implementation of an XSL transformation file can be downloaded at the end of this blog.

Background

The blog post “Integrating Ranorex Automation in Jenkins CI Process” is introducing the entire CI topic and gives a step by step introduction on how to integrate Ranorex into Jenkins CI. On the top of that, optimizations can be done supporting the machined understanding of the Ranorex Report.

Nowadays most of the modern unit testing frameworks such as JUnit, NUnit etc. do implement the xUnit notation (list of implementations). This comes with the advantage that tests and their results are defined once following the xUnit standard, and can then be interpreted and understood independent from the respective target language (such as Java, C#, etc.). In addition, continuous integration servers like Jenkins do use xUnit to interpret the results of a test in a unified way. Although Ranorex is a UI testing and not a unit testing framework, there still is a way to also interpret the Ranorex test results (Ranorex Reports) in the same way as you might be used to from your (automated) unit tests.

Install xUnit Plugin for Jenkins

First, the xUnit-plugin needs to be installed on Jenkins. Therefore please navigate to “Manage Jenkins” in the main menu and click the “Manage Plugins” menu item.

 
The tab sheet “Available” now provides the possibility to install the “xUnit plugin”.

Please proceed by installing the plugin.

Activate Custom Transformation (XSLT)

Next, the transformation of the Ranorex Report to a xUnit-based report format has to be activated. Therefore navigate to your Ranorex project and bring up the project configuration.

Start by adding a “post build action” called “Publish xUnit test result report”.

Two new panels appear allowing to define the thresholds for failed and skipped tests (both, total and new). More importantly click the “Custom Tool” menu item in the drop down:

The file name of the Ranorex Report needs to be defined in the setting “Custom Tool Pattern”:

Please make sure that path and file name of your report file pattern match the definition of your build step that calls the Ranorex executable. Here is the one used by this example:

TestCIProject.exe /rf:Report-Build-%BUILD_NUMBER%

Note: The Ranorex command line argument “rf” (reportfile) allows defining the report file name including the extension. If no file-extension is provided, the default extension “rxlog“ will be used for the report frame file. Additionally, the XML file containing the relevant data will be created with a file-extension “rxlog.data” then. For details on all command line arguments please refer to the user guide, chapter Running Tests via Command Line.

Note also: The above used placeholders %BUILD_NUMBER% and ${BUILD_NUMBER} are provided by Jenkins. At the beginning of a test run they will be replaced automatically by the current build number. Please take care to use these notations correctly.

Another relevant setting is the path to the transformation file (XSLT). A sample file is shared on GitHub and can be downloaded here: https://github.com/ranorex/Ranorex-To-XUnit

Given these settings, right after every Ranorex test execution triggered by Jenkins the Ranorex Report is automatically transformed into a xUnit-based XML file. This allows a deeper integration of test results into CI which will be described in the next section.

Exploring Test Results

Having applied the mentioned settings to your Ranorex project on Jenkins, a section “Test Result” will appear for every new test run.

Following the “Test Result” link, an overview site is presented providing useful information like “All Failed Tests” including their duration and age (since how many builds does test fail). Additionally, a short summary of all passed, skipped and failed tests is presented.

By clicking the plus icon of a failed test Jenkins presents error details and the stack trace additionally:

Also, Jenkins can now distinguish on the test case level whether a test case passed or failed. Before the conversion to xUnit format, Jenkins was only able to interpret the entire test result.

Conclusion

Calling your Ranorex test automation project from a Continuous Integration (CI) environment provides a lot of benefits and allows you to represent the results of the entire build process over time. However, even more information of every single test run can be gathered out when the Ranorex Report is fully understood by the CI tool. This understanding can be achieved by a transforming the test report into xUnit format. As visible above, there are only a few steps needed to see the results of every single test case instead of only one result of the entire test run. Furthermore these test case detail results can be used easier for further processing.

Although the sample above is using Jenkins as a CI tool this approach is the same for all CI tools understanding xUnit.

Further Reading

Share

Categories: Companies

Ranorex 5.0.2 Released

Tue, 04/15/2014 - 10:00
We are proud to announce that Ranorex 5.0.2 is now available for download. General changes/Features
  • Added support for Firefox 29
  • Added "durationms" field to report activity XML nodes and a "timestampiso" (ISO8601) timestamp field to the report root activity XML node
Please check out the release notes for more details about the changes in this release.

Download Ranorex version here.
(You can find a direct download link for the latest Ranorex version on the Ranorex Studio start page.)

Categories: Companies

New Ranorex Training Partner in Switzerland

Thu, 04/10/2014 - 10:00
We are proud to announce that we have partnered with the Swiss training provider "Zaar Teach-IT" to expand our German-speaking training and to meet the demand in this area.

Get firsthand training with Ranorex professionals and learn how to get the most out of Ranorex Studio and the Ranorex Test Automation Tools at this two day workshop.

This workshop covers introductory issues such as the benefits of automated testing and the related return on investment. The main focus will be the practical utilization of Ranorex.

For further details, please have a look at our workshop info sheet (PDF).

May 19-20

08:30AM - 04:30PM CET

Basisschulung – Test-Automatisierung mit Ranorex

Zurich, Switzerland


Check the schedules for additional workshops in the next few months.


We look forward to seeing you there!
Categories: Companies

Reminder for May Online Training

Tue, 04/01/2014 - 10:00
Get firsthand training with Ranorex professionals and learn how to get the most out of Ranorex Studio and the Ranorex Test Automation Tools at this two day workshops.

This workshop starts with theoretical issues such as the benefits and the return of investment in automated testing. The main focus will be the use of Ranorex in practice.

May 20-21

10:30AM - 05:30PM EST

Ranorex Test Automation Workshop

Online


Look at the schedules for additional workshops in the next few months.

Worldmap-Training

We look forward to seeing you there!
Categories: Companies

Ranorex at Swiss Testing Day 2014 in Zurich

Thu, 03/27/2014 - 11:05
We are just back from successfully participating in "Swiss Testing Day", a software testing event which took place in the Zurich "Kongresshaus" on March 19th, 2014. It was the biggest European software conference ever organized by Testers for Testers.



More than 700 software testing enthusiasts visited this year's Swiss Testing Day. On offer were various lecture tracks and a number of exhibits that focused on core areas such as test management, test methods, test automation and consulting. All in all there were 18 lectures and 2 top-notch keynote speeches that covered topics like "Innovation", "Test Methods", "Practices", "Technical Background" and "Compliance".



We are very pleased to say that several conference attendees used the breaks between the lectures to visit our booth. There we provided testing professionals with an overview of the Ranorex tools and addressed their test automation concerns as well as discussing new ideas about the future of automated testing.



We would thank all our visitors for their high level of interest, we are excited about the many new cooperation opportunities and of course also look forward to continued close cooperation with existing customers and partners.



We are looking forward to welcoming you again at Swiss Testing Day 2015.



You can also meet Ranorex professionals at these upcoming events:
Categories: Companies

Ranorex 5.0.1 Released

Tue, 03/25/2014 - 09:47
We are proud to announce that Ranorex 5.0.1 is now available for download. General changes/Features
  • Added support for Firefox 28
Please check out the release notes for more details about the changes in this release.

Download Ranorex version here.
(You can find a direct download link for the latest Ranorex version on the Ranorex Studio start page.)

Categories: Companies

Visit Ranorex at STAREAST 2014

Wed, 03/12/2014 - 09:34
Ranorex will be exhibiting at the upcoming STAREAST conference, May 4-9, 2014 at the Rosen Centre Hotel in Orlando, Florida.

The STAREAST is the premier event for software testers and quality assurance professionals - bringing you the latest in testing solutions and covering all your testing needs. Listen to the conference sessions and training classes to get the most up-to-date information about tools and technologies or visit networking events.

Come to our booth and learn more about Test Automation with Ranorex. See how to make your automated testing more effective and get answers to your questions directly from Ranorex professionals.

We look forward to meeting you at our booth!

Categories: Companies

Upcoming Workshop in San Francisco

Tue, 03/11/2014 - 09:45
Get firsthand training with Ranorex professionals and learn how to get the most out of Ranorex Studio and the Ranorex Test Automation Tools at this two day workshops.

This workshop starts with theoretical issues such as the benefits and the return of investment in automated testing. The main focus will be the use of Ranorex in practice.

Apr 24-25

08:30AM - 04:30PM PST

Ranorex Test Automation Workshop

San Francisco, CA


Look at the schedules for additional workshops in the next few months.

Worldmap-Training

We look forward to seeing you there!
Categories: Companies

Ranorex at Career Fair "Teconomy Graz 2014"

Thu, 03/06/2014 - 10:30
Ranorex will be at Teconomy on May 8th, 2014 in Graz. The biggest Styrian career fair will take place at the "TU Graz – Alte Technik" and allows companies, graduates and students meet with Ranorex employees.

Want to get any information about working at Ranorex or entering into co-operation agreements with us?
Come to our booth and get to know about the company, the software and our various job profiles or co-operation possibilities at Ranorex!

We look forward to meeting qualified applicants and partners interested in exploring joint opportunities!

Categories: Companies

Introducing Ranorex 5 - One License. All Technologies. All Updates.

Tue, 03/04/2014 - 11:00
We are pleased to announce that Ranorex 5 is now available for download.

This latest release extends Ranorex’ capabilities for testing of ERP systems like SAP, Oracle Forms, and Microsoft Dynamics Applications allowing industry-first complete system-level test automation across Desktop, Web and Mobile Applications. All technologies, all updates now available within a single license – Ranorex Premium. In addition improvements for mobile testing, test case documentation in Ranorex Studio, and much more has been added. 


Download Ranorex version 5 here.

Upgrade for free with your valid subscription 
(You can find a direct download link for the latest version of Ranorex on the Ranorex Studio start page.) Gestures for Touch Devices Alongside an optimized device manager, the support of swipe and change orientation gestures for Android, iOS and Windows 8 have been added with Ranorex 5.0. These are just a few samples for many other features simplifying mobile test automation included in this new release. ERP System Support Full support for ERP Systems is now part of the Ranorex Premium edition (Oracle Forms 11, SAP, MS Dynamics). No extra costs. No need to purchase any additional package. 
Recording Assistance A highlight border will assist you during the recording process for a better recording experience. Using this visual feedback, you will know immediately what exactly will be recorded, improving the robustness of your recordings noticeably.
Test Documentation, Subversion and Java With Ranorex 5.0 test cases and test suites can hold rich-text documentation. Additionally SVN 1.8 as well as any future SVN versions are supported. Plus Java instrumentation now works on the fly and out of the box – no more need for manual Java instrumentation. 

Categories: Companies