Page 1 of 1

Different object path identification in Windows 7 and 8

Posted: Fri Mar 14, 2014 2:26 pm
by lad
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.

Re: Different object path identification in Windows 7 and 8

Posted: Mon Mar 17, 2014 12:00 pm
by Support Team
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