This is a migrated thread and some comments may be shown as answers.

RadDiagramShape and Coded UI Test

1 Answer 22 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Ahmad
Top achievements
Rank 1
Ahmad asked on 25 Feb 2017, 04:53 PM
Hi,
as you see in the following project,
in my customized RadDiagramShape, there is a Button.
I use CodedUITestProject to identify the button but coded UI can't recognize it.
there is any way to solve it?
thanx.

https://www.mediafire.com/?40eia94xyype3tw

1 Answer, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 01 Mar 2017, 02:24 PM
Hi Ahmad,

The reason why you cannot identify the button is caused by the fact that you are using a CustomShape. I cannot give you a workaround as it seems that the peers do not work the same way when the diagram contains custom shape instead of RadDIagramShape. Using RadDiagramShape with a button inside works as expected and the button can be identified properly. If it is fine for you, I would suggest using RadDiagramShape instead of Custom one.

Regards,
Peshito
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
Diagram
Asked by
Ahmad
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Share this question
or