Different object path identification in Windows 7 and 8

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
lad
Posts: 1
Joined: Fri Mar 14, 2014 2:16 pm

Different object path identification in Windows 7 and 8

Post by lad » Fri Mar 14, 2014 2:26 pm

Hello, I have recorded some tests in Windows 7 x64, now I want to execute this same tests in Windows 8 x64, but objects are identified with different paths

In Windows 7 x64
/form[@controlname='AboutBox']/?/?/button[@accessiblename='OK']

In Windows 8 x64
/form[@controlname='AboutBox']/button[@controlname='okButton']

I have tried with Ranorex Studio and Ranorex Spy and results are the same.

Please help me because I want to execute some tests in differents operative systems.

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

Re: Different object path identification in Windows 7 and 8

Post by Support Team » Mon Mar 17, 2014 12:00 pm

Without Ranorex snapshots of the application under test (AUT) from both systems I can just guess...

Anyway, the RanoreXPath on the Windows 7 machine looks broken. It seems that either a prerequisite is missing or a newer .NET Framework was installed after Ranorex was already installed.

Please re-install Ranorex on the Windows 7 machine again. If that does not help, please post Ranorex snapshots created on the both machines for the AUT.

Regards,
Alex
Ranorex Team
.
Image