Search found 4 matches

by kkr
Fri Jan 11, 2019 12:56 pm
Forum: Automation Tools
Topic: Ranorex spy does not identify custom WPF-Shape-Descendant (with AutomationPeer)
Replies: 6
Views: 1643

Re: Ranorex spy does not identify custom WPF-Shape-Descendant (with AutomationPeer)

A C# solution demonstrating the problem is attached to my original post.
by kkr
Fri Jan 11, 2019 11:01 am
Forum: Automation Tools
Topic: Ranorex spy does not identify custom WPF-Shape-Descendant (with AutomationPeer)
Replies: 6
Views: 1643

Re: Ranorex spy does not identify custom WPF-Shape-Descendant (with AutomationPeer)

One additional question: When I Click on "Track" in Ranorex Spy, and I hover with the mouse over the TitleBar, its bounding box is shown as a red rectangle. However, when I hover over my Shapes, the bounding box is not shown immediately. I have to click in the window, then look for my shapes in Rano...
by kkr
Thu Jan 10, 2019 1:07 pm
Forum: Automation Tools
Topic: Ranorex spy does not identify custom WPF-Shape-Descendant (with AutomationPeer)
Replies: 6
Views: 1643

Re: Ranorex spy does not identify custom WPF-Shape-Descendant (with AutomationPeer)

Works like a charm! Thank you for your help!

Cheers,
Karsten
by kkr
Wed Jan 09, 2019 3:25 pm
Forum: Automation Tools
Topic: Ranorex spy does not identify custom WPF-Shape-Descendant (with AutomationPeer)
Replies: 6
Views: 1643

Ranorex spy does not identify custom WPF-Shape-Descendant (with AutomationPeer)

Hi. We are trying to identify Polygons drawn on a Canvas in a WPF-Application with Ranorex Spy. Because the default Polygon class do not create an AutomationPeer, we use a custom implementation "AutomationPolygon" which inherits from Shape and implements OnCreateAutomationPeer (as suggested in https...