The challenge of failing test cases
We are all familiar with the following scenarios that can occur on our test automation projects:
- A test executes perfectly on the local test machine but fails when running on a remote machine
- The test succeeds most of the time, but then it fails randomly
What’s the first thing we do when encountering one of these scenarios? We look at the test report and try to reconstruct what made the test fail. The cause of failure is often very difficult to find.
Wouldn’t it be great to see exactly what made the test run fail – a video perhaps?
Yes, it would!
Video reporting – watch what makes your tests fail
Ranorex Studio offers a video reporting solution. This feature automatically produces a video of either all of your test cases in your test suite or just the ones that failed.
After a test run completes, the test run report displays the result of each test case. Next to each test is a “Play video” button that allows you to view the video of the test directly from the test run report. Videos are also provided for the setup and teardown sections of your test case.
Curious as to how it works?
The following video will show you how to enable the video reporting feature and what the reports will look like:
Ranorex Studio video reporting features
The video reporting is based on test cases – that means you’ll get a video file for each test case showing you what happened to that test case.
There are three options for enabling video reporting:
- Videos will be created for every test case
- Videos will be created for only failed test cases
- No video will be created (default)
Likewise, there are three options for where recording occurs:
- Record locally on the machine where you are running Ranorex Studio
- Record remotely on your Ranorex agents
- Record in your CI pipeline
There are also settings for the quality and file size for the created videos:
- Change the bitrate of videos
- Change the framerate of videos
You can define the screen where the video should be generated. The video will automatically be recorded from the screen where the mouse is positioned.
Additionally, the video reporting API is now available for code-only users. The Ranorex API enables programmers to record test cases without using the UI.
If you want to learn more about this exciting feature please refer to the accompanying user guide section, Ranorex standard reporting, where you will find more detailed information.
It’s an exciting time for Ranorex!
All-in-one Test Automation
Cross-Technology | Cross-Device | Cross-Platform