Advanced settings & configurations
Most of the settings shown in the ‘Advanced‘ tab are used to configure Ranorex object recognition and RanoreXPath generation. Please be careful when changing these settings.
Ranorex advanced settings – part I
Enable 32/64 Bit Bridge: Use the checkbox ‘Enable 32/64 Bit Bridge’ to turn off the bit bridge required to handle 32/64 bit based applications on 64 bit operating systems automatically.
Use hidden screenshot capturing (if possible): Tries to capture screenshots used by recordings, repositories or Ranorex snapshot files, even from application windows which are not in the foreground. If disabled, Ranorex tries to make the application window visible before capturing a screenshot.
Disable expensive attribute in tools: This setting instructs plug-ins not to evaluate computationally intensive attributes for Ranorex Spy, Recorder, and Ranorex Studio. If checked, attributes like
Row.Index do not have a value for certain technologies when shown in Ranorex Spy. This improves performance is some cases.
Let snapshot contain complete ancestor subtree: When checked, the subtree containing the whole application will be stored when saving a snapshot file. If not checked, only the direct subtree to the selected item will be stored.
Use asynchronous dispatching of mouse and keyboard events: This setting is used to turn on or off asynchronous dispatching of mouse and keyboard events during recording. With enabled asynchronous dispatching mouse and keyboard events will not be forwarded to an application before Ranorex has finished processing the event.
Use UiaLauncher to elevate privileges for processes started by tools: Specifies whether test execution is started with elevated privileges or not.
Synchronize element selection of Studio’s repository with element selection in Spy: Specifies whether a UI-element will be automatically selected in Ranorex Spy when the representing repository item will be selected or not.
Enable IME Hook: This option enables input support for complex characters, e.g. for Chinese and Japanese. Note: Does not work for Windows Store apps, WPF applications, and in Microsoft Edge, Internet Explorer, or Mozilla Firefox.
Ranorex advanced settings – part II
RanoreXPath generation mode: Defines how RanoreXPaths will be built during recording actions or tracking elements using the Ranorex tools (by default, the mode ‘StepCostReduce’ is selected).
|StepCostReduce||Reduces the number of path predicates such that the path remains non-ambiguous. In addition to that, removes intermediate steps considered as unimportant. Can be heavily tuned using the RxPath.PathBuildMode settings. This usually shortens the path and makes it more robust by eliminating unnecessary attributes.|
|Reduce||Reduces the number of path predicates such that the path remains non-ambiguous. This usually shortens the path and makes it more robust by eliminating unnecessary attributes.|
|Simple||No optimization is performed. Path predicates contain valid, appropriate and existing attribute values or indexes if no attributes can be used.|
StepCostReduceRanoreXPath generation mode.