Skip to content

Ranorex
Syndicate content
Updated: 3 hours 38 min ago

Inside Ranorex Knowledge & Expert Talk

Tue, 05/24/2016 - 14:40
A Test Automation Podcast

Why is Ranorex the ideal tool for testers and developers? What is the Ranorex API? How can agile teams benefit from Ranorex? Questions you may have already asked yourself and the renowned test automation architect, avid blogger and podcaster, Joe Colantonio has now discussed with our Ranorex Head of Sales, Christoph Preschern, and Product Manager, Roland Enzinger.

In Joe’s podcast, they talk about topics such as:

  • Test automation trends
  • Test automation in an agile environment
  • Ranorex and Selenium
  • How to test dynamic user interfaces
  • The Ranorex API

We didn’t want to give it all away, so here are just a few questions Joe has asked our test automation experts:

Do you have any examples of where your customers are currently using Ranorex?
Many of our customers are using different types of technologies. One of our key USPs is the broad support of different technologies. Think about .NET based applications, Java based applications, ERP Systems like SAP, Oracle Forms, or mobile applications. On mobile devices you might have hybrid, native and mobile web applications. Ranorex allows you to combine all technologies within one test. Many of our customers are doing end-to-end test automation. Just take an online bookstore as an example. Using Ranorex, you can simulate adding a book to an ERP system, then simulate a user looking for a book on a mobile device, adding it to the wish list and, in the next step, accessing the wish list as well as purchasing the book from the webpage using a computer. Finally, at the end of the loop, you can verify whether the book has been correctly removed from the ERP system. Scenarios like these can easily be created in one test case with Ranorex.

Does Ranorex integrate with any version control system?
Ranorex Studio directly integrates with Git, Subversion and Team Foundation Server. You can easily use any other file based version control system outside of Ranorex Studio, as the entire Ranorex project structure is file based.

Do you only support UI based technologies or also any type of API REST testing?
Besides the UI, there’s an increasing demand for web service test automation, and it’s always worth to combine UI tests with API tests. This is possible within Ranorex Studio, as you can create your web service tests based on existing libraries from the .NET framework.

How should a team get started with test automation?
It’s important to know which test cases should be automated first. That’s why it’s essential to have an understanding of testing in general. You shouldn’t just automate any test case. You need to consider which test cases are executed the most, as the return on investment is linked to the number of times a test is executed. When introducing a team to test automation, you need to think about who is doing the automation and which test cases to automate. At Ranorex we offer free online webinars, videos and written instructions to inform people on how to get started with test automation, provide useful tips and best practices. For those who have mastered the test automation basics and want to proof their knowledge, we also offer a Ranorex Certificate.

Listen to Joe Colantonio’s Podcast

The post Inside Ranorex Knowledge & Expert Talk appeared first on Ranorex Blog.

Categories: Companies

Have You Heard the Fantastic News?

Tue, 05/17/2016 - 14:37

There’s a brand new major software update available! Ranorex 6.0 has finally been released! Incredible new features are waiting for you: Ranorex Remote for remote testing, Git integration, faster test execution, code editor enhancements, and many more.
Join 6.0 WebinarDownload 6.0 Trial

We’re so excited about the new features and can’t wait for you to try them out. As you do need a Ranorex Runtime Floating License to set up and use Ranorex Remote for remote test execution, we have a special surprise for you: Only now you can get 30% off Runtime Floating Licenses. It’s a time limited offer, so buy now and start saving time with Ranorex Remote.

30off Limited offer!

Ranorex Runtime Floating License now 30% off!
Buy now! Valid until June 30, 2016

.lo-left, .lo-right { margin: 10px 20px; float: left; } .lo-wrapper { overflow: hidden; width: 85%; margin: 10px auto; } @media screen and (max-width: 853px){ .lo-left, .lo-right { float: none; text-align: center; } .lo-right p{ text-align: center!important; } }

The post Have You Heard the Fantastic News? appeared first on Ranorex Blog.

Categories: Companies

Cross-Browser Test Automation with Ranorex

Tue, 04/19/2016 - 20:00

If you’re testing a web application, it would naturally be best to test it with not only one but with all of the most popular browsers (cross-browser testing).

This blog post will show you how to record your automated website browser tests and then automatically execute the recorded tests on different browser for browser compatibility testing. Ranorex is a cross browser testing tool which can run tests in Microsoft Internet Explorer, Mozilla Firefox, Google Chrome, Chromium, Apple Safari and Microsoft Edge.

Sample Test Suite Project


To demonstrate how to perform a multiple browser test, we will generate a small sample which enters data in our VIP Database Test Web Application

First of all we’ll create a Test Case holding two Recordings, one for opening and one for closing the browser as setup and teardown modules.

 

Ranorex Sample Project

 

Now we add a “OpenBrowser” action to the OpenBrowser Module with “http://www.ranorex.com/web-testing-examples/vip/” as Url and e.g. “IE” as browser.

 

Open Browser Module

 

As next step we add a recording module validating the status String on connecting and disconnecting.

 

Ranorex Sample Project

 

The recording module simply

  • validates, that the status text equals “Online”,
  • disconnects,
  • validates, that the status text equals “Offline”,
  • connects again,
  • confirms to connect in the pop up window
  • and validates, that the status text equals “Online” again.

 

Test Connection

 

Make sure to have two repository items representing the connection status text, one for “Online” and one for “Offline”. This allows you to overcome issues with delaying validation steps. In our application it takes some time that the status text changes from “connecting…” to “Online”. To make the Validation work, we can simply add the actual validation into the RanoreXPath and only validate the existence of the status text in our web page. By doing so, we are using the search timeout of the repository item to wait for the status text to change.

Additionally to the TestConnection recording, we will generate a recording for adding VIP’s to the database. This recording will be added to a new Test Case as we want to data driven add VIP’s and do not want to open and close the browser and testing the connection with each iteration of adding a new VIP.

 

Ranorex Sample Project

 

The recording might look something like this:

 

Add VIP

 

As we want to make our test data driven, we have to add variables which can be bound with the data from our data source.

The key sequences for first and last name contain the variables $FirstName and $LastName. To select the category, we have to add a SetValue action and set the TagValue to the variable $Category. The gender can be set by adding a variable to the RanoreXPath of the corresponding repository item. Additionally, we validate the VIP count against a variable $VIP_Count.

After generating the recording, we create a data source for the Test Case Add_VIP’s and bind the data tables to the variables of the recording AddVIP.

 

Add Data Source to AddVIP

Add Data Source to AddVIP

Add Data Source to AddVIP 3

 

As last step we add a Close Application action to the CloseBrowser Module with the application folder of the web application as repository item.

 

Close Browser Module

 

Now we can execute our Test Suite Project, which:

  • opens the web application in Internet Explorer in the setup region,
  • performs connection tests,
  • adds 3 VIPs following the data driven approach (the data for the 3 VIPs are stored in a simple data table),
  • validates the count of the VIPs stored in the web application
  • and closes the browser in the tear down region.
Cross-Browser Test


To perform these steps not only for IE but also for the other browser which are supported, we first make the browser which will be started in the Recording “OpenBrowser” variable.

Therefore open the recording “OpenBrowser” and edit the browser which should be started. Now choose “As new Variable…” instead of “IE” and add a new Variable called BrowserName.

 

add browser variable

add browser variable 2

 

After that, add a new simple data table to the Test Case “Add_VIP_and_Validate”, holding the names of the different browsers and bind the data connector to the variable “BrowserName”.

 

Add Data Source

Add Data Source 2

Add Data Source 3

 

After making the browser variable that way and binding this variable to a table holding all supported browser names, you can execute your test script for all supported browser.

 

Reporting

The post Cross-Browser Test Automation with Ranorex appeared first on Ranorex Blog.

Categories: Companies