Ranorex Logo

Support Corner: Handling Common Warnings In Ranorex

|
Handling Common Warnings In Ranorex|ActionSpot|OutOfBoundsScreenshot|Unbounded|UnboundedSetting

Have you ever been running a test suite session in Ranorex Studio, only to be greeted by unexpected warnings in your report? Warnings like ‘Out of Bounds’ or ‘Unbounded Module Variable’ can be puzzling and slow down your test automation if you’re unsure what to do or how to manage them.

This article looks at these two common warnings and provides clear insight on how to handle them. By understanding and effectively taking care of these warnings, you can ensure smoother, more reliable test automation workflows in Ranorex Studio. Read on, and let’s figure out these common warnings together and streamline your testing process.

Error 1: Out of Bounds Warning in Ranorex

When you are performing a mouse action on a UI element and the action spot of that mouse action was performed outside the boundaries of the assigned UI element, you will get the following warning in the report:

You may see this warning when working on different machines with different resolutions or zoom settings. To handle this warning, you can change the action spot of the action to Center. When the action spot is Center, the action will be performed in the middle of the element. That will help handle situations where element positions and sizes are changed due to different resolutions and display settings. It should also help in a progressive web app or any app that adjusts the layout according to screen resolution.

Changing the Action spot in the recording module itself allows you to fix the specific action. But you can also change the default recording behavior so future recordings default to Center as the action spot location. The setting that defines this default behavior is the Coordinate Recording Mode, which can be found under Settings -> Recorder Defaults. This setting has three possible values: Pixel, None, and Proportional. In this case, we want to use the None option so that Ranorex will also choose the center for the action spot location. You can read more about action spot settings here.

Warning 2: Unbounded Variables

When you have a variable being used inside a module that is not bound to a data source Ranorex will create a default warning.

If you are using the variable in a way that does not require it to be bound (for getting a value and logging that value, for example) then you can easily disable the warning in the Test Suite properties. You can access the Test Suite properties by right-clicking the Test Suite and selecting “properties.”

Use Warnings to Your Advantage

Warnings are one of the most helpful pieces of information you’ll find in your reports. When you use that information to optimize your tests or relay important testing results to stakeholders, you can rest easy knowing that it’ll steer you toward a successful testing process (not to mention that handling the warnings can clean up your test reports). Try these steps to see for yourself.

Got a question about this topic or have an idea you’d like to see covered? Contact us and let us know your thoughts.

 

In This Article

Sign up for our newsletter

Share this article

Related Articles

Playwright-vs-Selenium-Why-Neither-May-Be-the-Right-Choice-blog-image

Playwright vs Selenium: Why Neither May Be the Right Choice

February 5, 2026
The Playwright vs Selenium debate misses the point. Teams argue about execution speed and API design while ignoring something more basic: both tools only work inside web browsers. If your app has a desktop installer, native dialogues, or actual mobile components, you will encount...
Selenium-WebDriver-Testing-Guide-Setup,-Browsers,-and-grid-blog-image

Selenium WebDriver Testing Guide: Setup, Browsers, and Grid

February 2, 2026
In this guide, you will understand what Selenium WebDriver is, how it works, and how to use WebDriver to automate web testing. You will also learn how Ranorex Studio integrates with Selenium WebDriver so you can design tests in Ranorex and execute them against WebDriver endpoints...
Automated-Testing-Guide-Uses,-Benefits,-Steps,-Best-Practices-blog-image

Automated Testing Guide: Uses, Benefits, Steps, Best Practices

January 29, 2026
Automated testing allows engineers to assess a product for errors or bugs using special software. It complements manual testing techniques, which expedites the development process. Automated testing is common among teams that follow agile and DevOps methodologies. After performin...