Unable to track Shape

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

Unable to track Shape

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


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.


User avatar
Ranorex Guru
Ranorex Guru
Posts: 6553
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


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:
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