Page 1 of 1

Windows 7: Control identification

Posted: Thu Jul 08, 2010 10:58 am
by Marianne Jacobsen
Hi

We're just recently installed Windows 7 on a number of machines. It seems that there is a difference in how Ranorex recognizes controls - is this true? or are we doing something wrong?

Highlighted is the same control in our AUT both on Windows 7 and Windows XP - notice how the expressions are totally different.



How do I solve this?

Re: Windows 7: Control identification

Posted: Thu Jul 08, 2010 12:37 pm
by Support Team
Hi,

It seems to be a 64 Bit problem. Please, can you post me which version of Ranorex is in use?
And please take a look to our documentation about Ranorex on 64-Bit-Platforms
http://www.ranorex.com/support/user-gui ... forms.html

Regards,
Peter
Ranorex Support Team

Re: Windows 7: Control identification

Posted: Thu Jul 08, 2010 12:56 pm
by Marianne Jacobsen
We're using Ranorex 2.3 - but I see now that there is a Ranorex 2.3.3. I'll try to install that version. I had the understanding that Ranorex versions after 2.3 should handle 64bit automatically - this is not how it's done?

Re: Windows 7: Control identification

Posted: Thu Jul 08, 2010 1:23 pm
by Support Team
Hi,

Yes you are right. Versions V2.3 and above handle the 32/64 Bit automatically with the Ranorex Bit Bridge. A possible cause could be a security issue. Is it possible that your software is placed in an encrypted folder or on a network share? Are both executables - the application under test and the automating application - launched with the same user rights?

Regards,
Peter
Ranorex Support Team

Re: Windows 7: Control identification

Posted: Thu Jul 08, 2010 2:09 pm
by Marianne Jacobsen
I've installed Ranorex 2.3.3 but problem persists. In the recorder I can see that bridging is enabled.

Launched both AUT and RanorexSpy with "Run as Administrator" and I've also made sure to run the RanorexSpy.exe and not the x86 version.

Both AUT and Ranorex is installed in a normal folder (standard Program Files location) on the local harddrive.

Re: Windows 7: Control identification

Posted: Thu Jul 08, 2010 4:24 pm
by Support Team
Hi,

Please, can you check if you get the elements with the x86 Spy?
Have you restarted your application after installing the new version of Ranorex?
Would it be possible to send us or post an example application with the same behavior, because we are too working on Windows 7 x64 and we cannot observe such a behavior.

Regards,
Peter
Ranorex Support Team

Re: Windows 7: Control identification

Posted: Thu Jul 14, 2011 10:56 am
by J-Loup
Any news about this problem ? I had the same issue when i tried to run my tests developped under Win7 on a WinXP PC. I've checked with Spy, the object identification is completely different !

cheers

Re: Windows 7: Control identification

Posted: Thu Jul 14, 2011 3:52 pm
by Support Team
Hi,

Which Ranorex version are you using? Can you give us some more information about your application under test?
Which application are you testing and have you considered all the steps which Peter mentioned?
Can you send us two Ranorex snapshots of your AUT (XP and Win7)?
If you don't want to post it to the forum you can send it to our support email address: [email protected]
Are you sure that the systems are "equal", I mean for instance that you have installed the same .Net version on both systems?


Regards,
Markus
Ranorex Support Team