32/64 bit Applications

Ranorex Spy, Recorder, and Studio.
Flash05
Posts: 12
Joined: Tue Jan 28, 2014 8:27 am

32/64 bit Applications

Post by Flash05 » Wed May 04, 2016 9:32 am

Hello,

some of our applications changed from 32 bit to 64 bit. Now i can't track the controls
in our applications correctly with the Ranorex Studio > Spy (32 bit). (warning: attachment 1)
Running the tests from Ranorex Studio fails too.

But scanning with the 64 bit Spy works correctly.

I alredy set the Target CPU to "Any processor" in the Project Settings. Did not help.

What do i have to change to run the tests with 64 bit?

PS: The tests should run for both 64-bit and 32 bit. We are testing 32 bit Delphi
applications and 64 bit C# applications in the same test project.
Attachments
ranorex_technology_limitation.png
ranorex_technology_limitation.png (6.9 KiB) Viewed 913 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: 32/64 bit Applications

Post by Support Team » Mon May 09, 2016 9:45 am

Hi everybody!

Flash05 was already in contact with [email protected].

The issue is caused because one of the DLLs of the application under test is compiled for 64 bit explicitly. In this case, the external 64 bit Ranorex Spy has to be used in order object recognition works properly.

Another way to resolve the issue would be building the AUT and all included libraries for 'Any CPU'.

Unfortunately, there is no other workaround at the moment.

Sincerely,
Johannes
.
Image