Unable to track Shape

Ask general questions here.
prasoon.jmit
Posts: 13
Joined: Mon Dec 09, 2019 1:37 pm

Unable to track Shape

Post by prasoon.jmit » Thu Sep 10, 2020 1:18 pm

Hi,

In my application i am using "Polygon" control. I am able to track all the elements apart from "Polygon".

As Polygon class is sealed i can't inherit it and override AutomationPeer OnCreateAutomationPeer() method.

Is their any way by which i can track "Polygon" control.

Thanks,
Prasoon

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

Re: Unable to track Shape

Post by odklizec » Thu Sep 10, 2020 2:21 pm

Hi,

Unless there is implemented accessibility to the "polygon" object, there is most probably no way to track it. We discussed it in the past. Check for example these posts:
viewtopic.php?f=4&t=8097&p=32681
ranorex-for-autocad-application-t9186.html#p37037
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