The Advanced tab contains configuration options for Ranorex object recognition and RanoreXPath generation. Be cautious when modifying these settings, as they impact core automation behavior.
Advanced
These settings control system-level interactions and tool behaviors.
- Enable 32/64 Bit Bridge: Automatically enables or disables the bit bridge required to handle 32/64 bit-based applications on 64-bit operating systems.
- Use hidden screenshot capturing (if possible): Allows Ranorex to capture screenshots from recordings, repositories, or Ranorex snapshot files, even from application windows that are not in the foreground. If disabled, Ranorex attempts to bring the window to the front first.
-
Disable expensive attributes in tools: Instructs plug-ins to skip computationally intensive attributes for Ranorex Spy, Recorder, and Ranorex Studio to improve performance. If you enable this option, attributes like
Row.Indexdo not have a value for certain technologies when shown in Ranorex Spy. - Let snapshot contain complete ancestor subtree: Saves the entire application subtree when creating a snapshot. If you do not enable this option, Ranorex only saves the direct subtree to the selected item.
- Use asynchronous dispatching of mouse and keyboard events: Enables asynchronous dispatching of mouse and keyboard events during recording. If you enable this option, events are forwarded to an application only after Ranorex finishes processing them during recording.
- Use UiaLauncher to elevate privileges for processes started by tools: Specifies whether the system starts test execution with elevated administrative privileges.
- Synchronize element selection of Studio’s repository with element selection in Spy: Specifies whether the application automatically selects a UI element in Ranorex Spy when you select the corresponding repository item.
-
Enable IME Hook: Enables input support for complex characters (e.g., Chinese or Japanese).
-
Delay before pressing a key sequence (ms): Defines the wait time before performing a key sequence simulation.
RanoreXPath settings
These settings modify the behavior of the automatic RanoreXPath generation algorithm.
Speed/robustness slider
This slider balances speed (flexibility) against robustness (resistance to UI changes). Review the following examples to understand how this setting influences RanoreXPath generation.
50 % setting – balanced
At the default setting, Ranorex Studio generates a RanoreXPath that is equally balanced in terms of execution speed and resistance to UI changes.
- Button in the Ranorex Studio Demo Application: The target element for path generation.
- The button in the element tree in Ranorex Spy: It is located on the fourth level of the tree.
- The generated RanoreXPath for the button: It contains two ? wildcards between the root node and the parent of the UI element, giving the path reasonable flexibility.
0 % setting – speed
Ranorex Studio generates a path focused on the highest execution speed. This results in a definitive path without wildcards that is fast but breaks easily if the UI structure changes.
- Button in the Ranorex Studio Demo Application: The target element for path generation.
- The button in the element tree in Ranorex Spy: It is located on the fourth level of the tree.
- The generated RanoreXPath for the button: It does not contain any wildcards. This makes the path fast, but changes in the UI structure likely prevent successful identification.
100 % setting – robustness
Ranorex Studio generates a path that is focused on achieving the highest robustness. This results in a slower, flexible path that has the most resistance against UI changes.
- Button in the Ranorex Studio Demo Application: The target element for path generation.
- The button in the element tree in Ranorex Spy: It is located on the fourth level of the tree.
- The generated RanoreXPath for the button: It consists only of the root node, a // wildcard, and the final node. This allows any number of nodes between the root and the final node, making the path slower but very resistant to UI changes.
Attribute weights and Expert settings
- Edit attribute weights...: Defines which UI attributes Ranorex prefers when generating paths.
- Expert settings: Contains critical settings for the core RanoreXPath generation algorithm, including the Robust RanoreXPath mode used for self-healing.
Statistics, defaults, import/export
- Send anonymous usage statistics: Enables the transmission of anonymous data to help improve Ranorex Studio.
- Restore defaults: Reverts all advanced settings to their original factory values.
- Import/Export: Allows you to transfer settings between different solutions or machines.