Skip to content

Software Development News: .NET, Java, PHP, Ruby, Agile, Databases, SOA, JavaScript, Open Source

Methods & Tools

Subscribe to Methods & Tools
if you are not afraid to read more than one page to be a smarter software developer, software tester or project manager!

Ranorex.com: Latest News
Syndicate content
Updated: 11 hours 50 min ago

Cross-Browser Test Automation with Ranorex

Tue, 04/19/2016 - 19: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: Vendor

A Great Place To Work

Fri, 03/18/2016 - 13:15

It’s about time we don’t just talk about our incredible test automation software, but about those who are at the heart of the product: a dedicated, enthusiastic and talented team, and the incredible workplace Ranorex that provides the platform to make this awesome product possible. You all know the saying “Happy employees equals happy customers.” Here at Ranorex, we live by that saying – and we’ve got the award to prove it.

The Great Place to Work® institute has named Ranorex one of Austria’s best workplaces. Even though this award only recognizes the great workplace culture in Austria, we believe it’s also representative for our U.S. subsidiary.

The results of the Great Place to Work® benchmark study provide important feedback on what’s good about our workplace culture and highlights aspects in which Ranorex can improve as an employer. This study has clearly shown that we at Ranorex work as a team – and love to do so. We’re a team in which we work towards the same goal, but where everyone can take personal responsibility and use their individual strengths to the fullest. We’re a team in which we bounce of each other’s ideas, inspire and motivate each other.

In my role as HR manager of the Ranorex headquarter in Austria, I can certainly say that Ranorex as an employer does everything to fosters that team spirit and nurture the personal as well as professional growth of every team member. Ranorex will continue to drive improvements and provide a fun as well as inspiring workplace.

We’ve got fantastic news for you: We’re still hiring! Check out our career page and let us know why you’d be an asset to our team. We’d love to hear from you!

Open Positions

 

The post A Great Place To Work appeared first on Ranorex Blog.

Categories: Vendor

Customer Experience Survey Infographic

Thu, 02/18/2016 - 12:58

Check out this fun infographic to see how Ranorex is being used.

The invaluable input you’ve provided in this survey is incredibly important to us.

The survey data gave us an in-depth understanding of how Ranorex is being used. We can now adjust and improve our product according to your specific needs.
We have analyzed and visually prepared the content according to the following categories:

  • Industries
  • Team Information and Tool Usage
  • Development Approaches
  • Test Approaches
  • Test Execution

 

Please find the most pertinent data summarized in the following infographic.

Ranorex Infographic 2016

The post Customer Experience Survey Infographic appeared first on Ranorex Blog.

Categories: Vendor

Software Quality Days 2016 in Vienna

Wed, 02/03/2016 - 11:01

This year the Software Quality Days, one of Europe’s most comprehensive events on software quality, took place from January 18 – 21, 2016 at the hotel Savoyen in Vienna. As a team of three, we represented Ranorex and made sure to tackle hot topics in test automation. Now that we’re back, we’d like to quickly recap this event for you.

SWQD-Logo

As part of the Solution Provider Forum, I gave a talk on the “Advantages of a unified approach for cross-technology testing”. With the growing importance of multi-channel services, DevOps and the IoT, I strongly believe that a particular testing approach is required to provide customers with the quality and user experience they expect: cross-platform end-to-end testing. As part of my presentation, I demonstrated how these tests can easily be created with Ranorex and how we, already, support automated testing of wearables.

Back at our booth, we couldn’t wait to connect with prospect customers, answer questions, give live demonstrations and exchange thoughts on testing in general. The direct interaction with those interested in Ranorex was, as always, invaluable and the range of topics immense. While companies still relying on manual testing were fascinated to see how quickly and easily automated testing with Ranorex can improve their testing process, we were also happy to use our mobile devices and laptops to demonstrate in face-to-face interactions which automation approach best works for individual testing scenarios. A topic that sparked a lot of interest at our booth was definitely the upcoming Ranorex release, which will include remote test execution and support of Git. We also took this event to talk to potential future as well as current partners, such as imbus and Neotys, and were delighted with discussing possible integration use cases that will soon be available to our customers.

SWQD-Georg-K-2016     SWQD-Award-2016

We definitely had fun at this event. While we were busy showcasing our product, we also put our Ranorex stress balls in an informal juggling competition to good use – and were promptly awarded as most creative exhibitor.

The conference ended with an inspiring message from Hannes Treichel:  Don’t just try solve a problem by trying to figure out which steps you’ll have to take to reach a desired solution. Instead, ask yourself: “How can I get from a desired outcome back to my problem?”.

Stop by for live demonstrations and expert talks at our Ranorex booth at these upcoming software testing events.

 

The post Software Quality Days 2016 in Vienna appeared first on Ranorex Blog.

Categories: Vendor

What are Test Automation Trends 2016 – what’s hot this year?

Thu, 01/21/2016 - 14:12

We hope you’ve all had a relaxing holiday season and a fantastic start into the new year. Now it’s high time to get ready for test automation again. Let’s start by looking at some upcoming test automation trends we need to watch out for in 2016. Ranorex is ready for these new testing challenges!

 

1. Quality Enhancement and Cost Optimization

Today’s technology makes it easy for us to compare and review software products. As quality expectations rise, it’s become an increasing challenge to meet the customers’ exceeding demands. Providing the best possible software quality is always linked to increasing development and testing costs. To optimize these costs, it is important to shift from manual to automated testing environments. Yet user interface testing, a cost intensive part within the testing process, is still often done manually. Using functional test automation for this part would tremendously increase the software quality and optimize testing costs. This topic will become even more prominent in 2016.

 

2. Cross-Device and Cross-Technology Testing

When software was still a rather simple idea, testing was no magic. Testing of a standalone instance was pretty easy and isolated. Today, in a world of interconnection, things have changed. Tools often communicate with systems in the background. Everything and anything is connected to the Internet, can interact and exchange data. This process is coined with the term “Internet of Things” (IoT). As seen in the example of smart watches, the IoT is on the rise. Testing is required to cope with these new challenges. In the year 2016 it will be more important than ever for tests to be able to validate cross-device and cross-technology functionality.

 

3. Agile Testing and Continuous Integration

The practice of agile testing responds best to the challenges of 2016, where it’s all about high quality software, speed and interaction. The importance of recognizing and responding to changes in the software immediately, has been proven. However, it’s never been said that high-performance agile testing is easy, as software testers must be involved in every aspects of the software development process. New tests are generated continuously and added to existing automation in parallel to the software development itself. Agile development utilizes continuous integration tools such as Jenkins or TeamCity. These tools facilitate the integration of automated tests, resulting in frequent and faster software releases.

Agile Testing and Continuous Integration

 

4. Cloud-Based Testing

One of the hottest trends in 2016 is cloud-based testing. When it comes to testing web applications, there is an ever increasing demand in combining cloud-based testing solutions with continuous integration. Due to the unlimited storage, quick availability and flexibility of a distributed testing environment, it is possible to reduce the execution time of software tests. This makes this combination particularly interesting. This type of testing enables companies to run automated web tests in different environments and on multiple machines without having to build their own testing infrastructure. Due to the scalability in cloud-based testing, companies can bring high-quality software faster and cost-efficiently to the market.

 

5. Integration of Test Automation into DevOps

In today’s fast moving world, clients push for faster software releases. To achieve these ambitious goals, new software testing practices are required. 2016 will see the rise of a concept called “DevOps”. This term encompasses ideas of development, testing and operations and combines practices such as continuous integration and continuous delivery, fostering the rapid development of high-quality software. In order for this concept to work, the software functionality has to be resistant to changes. It further requires a high level of test automation to ensure quality and efficiency throughout the lifecycle of a software application. Thus, automated testing has to be an integral part of DevOps. In order to establish a functioning DevOps environment, test automation will be on everyone’s lips in 2016.

Devops Testing by Google Trends

 

6. SMAC Testing

With the emergence of apps using SMAC (Social, Mobile, Analytics and Cloud) on smartphones, wearables or connected devices like televisions, the value of testing SMAC apps in 2016 has been driven to a higher level. These apps have to be tested for the following parameters: functionality on different devices and platforms, load, performance, security and usability. Therefore, the need for robust and secure cross-technology test automation strategies is higher than ever before. The ability to secure sensitive “SMAC data”, such as user data in the cloud, is an essential factor when it comes to choosing a strategic testing approach.

 

7. Pair Testing

It’s a proven fact that the overall efficiency improves when testing and development teams work closely together. Quite understandably, this has become a growing trend, as it allows to quickly bridge communication gaps and further facilitates the immediate resolution of issues. Although everything but new, pair testing has recently experienced an upsurge. The advantages are seemingly endless; leaving the “developer-tester conflict” in the past, they work together as partners, speeding up the automation of testing scenarios – and with it the production of high-quality software.

 

Looking at these trends, we believe that a bright future of test automation is ahead of us. Prepare yourself for the emerging opportunities in the testing industry. Let’s work together so that our testing skills will never be outdated!

 

Ranorex Can Help You Follow These Trends

 

The post What are Test Automation Trends 2016 – what’s hot this year? appeared first on Ranorex Blog.

Categories: Vendor