Object recognition (strange path editor (any keyword))

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
kappa
Posts: 17
Joined: Wed Feb 01, 2012 4:47 pm

Object recognition (strange path editor (any keyword))

Post by kappa » Mon Mar 06, 2017 10:21 am

Hi,

I have a strange behaviour, I have two computers ComputerA & ComputerB. Using the same ranorex snapshot file, I obtain two different interpretations in the path editor (see SnapShotMachineA.png and SnapShotMachineB.png, and a MS spy++).
So when I try to run my Rx script on the ComputerA, it fails on object recognition.
If I redo the record on ComputerA, the script can be played on Computer B, but failed on ComputerA.
If I redo the record on ComputerB, the script can be played on Computer B, but failed on ComputerA.

On the two computers, I have the same Ranorex version 6.0.1 and the same OS Win7 x64.

What is wrong ?

Regards,
Attachments
Mine.rxsnp
(68.54 KiB) Downloaded 33 times
SnapShotMachineB.png
SnapShotMachineB.png (157.06 KiB) Viewed 516 times
SnapShotMachineA.png
SnapShotMachineA.png (59.43 KiB) Viewed 516 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3930
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Object recognition (strange path editor (any keyword))

Post by odklizec » Mon Mar 06, 2017 10:32 am

Hi,

Unfortunately, you seem forgot to upload the snapshot from the other machine?

Anyway, after opening the attached snapshot, it throws an error:
Failed to load the assemblies containing the definition of this control. UI element identification capabilities for this control are limited. Failed assemblies:
C:\Program Files\KAPPA\Workstation 5.12\Launcher\KAPPA.exe
Process: 'KAPPA' (pid 7840)

So it seems to me that there is something missing on the machine where you saved the snapshot (incorrect/missing library, different version of .net, etc...). I guess the snapshot is from machine B?

BTW, Ranorex 6.0.1 is way too old and no longer supported. A lot of things have been fixed and improved since 6.0.1. So you should definitely update to latest 6.2.1.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

kappa
Posts: 17
Joined: Wed Feb 01, 2012 4:47 pm

Re: Object recognition (strange path editor (any keyword))

Post by kappa » Mon Mar 06, 2017 11:46 am

Hi,

Please find herewith the snapshot done on computerB.
We have the same behaviour with Ranorex 6.2.1 on ComputerA.

Regards,
OE
Attachments
Spy++.png
Spy++.png (13.64 KiB) Viewed 506 times
Their.rxsnp
(68.06 KiB) Downloaded 32 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3930
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Object recognition (strange path editor (any keyword))

Post by odklizec » Mon Mar 06, 2017 12:38 pm

Hi,

I'm afraid, both snapshots (Main and Their) were taken on the same machine "FRA-D-203" (I guess machine B) and so their xpaths are the same ;)
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration