Ranorex Studio and all its tools (Spy, Recorder, Test Suite Runner) are available in 32- and 64-bit versions. Both versions of the tools are available from the start menu, but if you want to manually start the 64-bit Ranorex Studio, you need to do so from \Ranorex\Studio\Bin\x64\RanorexStudio.exe.
Ranorex Studio handles testing of 32/64 bit based applications on 64 bit operating systems automatically. It is possible, but recommended only for advanced users, to turn off the bit bridge feature within the Ranorex Settings dialog. If you disable the bit bridge feature (not recommended!) or your Ranorex Studio version does not support the bit bridge (versions prior to 2.3), follow the guidelines in this chapter to make 32/64 bit automation interoperable.
Task manager showing 64 and 32 bit calculator applications
In general, you should use the Ranorex Studio version that matches the bit architecture of the automated application. I.e. if you automate a 32 bit application, use Ranorex Studio (32bit) or the respective 32-bit tools, otherwise use the 64-bit versions of Ranorex Studio and its tools.
When you compile your own Ranorex executables, be sure to specify the right target architecture in your project settings. In Ranorex Studio this setting is on the ‘Compiling’ tab in the project properties. .NET applications are by default started as 64 bit processes on 64 bit operating systems unless the target CPU is explicitly set to the 32 bit (x86) architecture. Consequently, set the ‘Target CPU’ property to ‘Any processor’ for automating 64 bit applications and to ’32-bit Intel-compatible processor’ for 32 bit applications.
Ranorex Studio – advanced compiler settings