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

WPF RadDocking AutomationId not set

5 Answers 146 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Simon Störmer
Top achievements
Rank 1
Simon Störmer asked on 01 Mar 2018, 12:45 PM

Hi, 

we are using the rad docking and set a automationid to all levels (RadDocking, RadSplitContainer, RadPaneGroup and RadPane) but if we let the CUIT run it needs much time or he doesn´t find the control.

Also if we check the UI with AccChecker we can see that there is no AutomationId set. 

If have downloaded a example from this thread:

https://www.telerik.com/forums/cuit-is-failing-perform-actions-on-the-controls-placed-inside-the-radpanegroup#g4MK_X_CbU-XMfaGOlK9vg

But it doesn´t work on my computer and I can see that there is no automationid set. 

See AutomationIds in the Code.jpg file.

In the file ACC.jpg you could see that there is no AutomationId found. 

Currently it´s not possible to upload the source code because it´s to big and it´s not allowed.

Could you tell me where we miss something or is it a bug?

Thanks for your help.

 

5 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 06 Mar 2018, 01:02 PM
Hi Simon,

I will check the given information and write back as soon as I investigate this.

Regards,
Martin Ivanov
Progress Telerik
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.
0
Martin Ivanov
Telerik team
answered on 08 Mar 2018, 01:49 PM
Hello Simon,

I tested the provided code and everything seems to work properly. All elements have their AutomationId set as expected. Can you please take a look at the attached project and let me know if I am missing something? Note that I used the UISpy tool to check the Ids.

Regards,
Martin Ivanov
Progress Telerik
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.
0
Martin Ivanov
Telerik team
answered on 08 Mar 2018, 01:50 PM
Hi,

You can find the project attached in this reply.

Regards,
Martin Ivanov
Progress Telerik
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.
0
Simon Störmer
Top achievements
Rank 1
answered on 08 Mar 2018, 02:01 PM

I can´t check it with UISpy because it´s not available on MS homepage. See attached file.

Also the CUIT can´t find the controls. 

0
Kalin
Telerik team
answered on 13 Mar 2018, 11:34 AM
Hello Simon,

Indeed the UISpy is not available anymore - I apologize. Instead you could test it with UIAVerify tool - you should be able to find in the following location:
c:\Program%20Files%20(x86)\Windows%20Kits\10\bin\x86\UIAVerify

I have attached a screenshot from that tool demonstrating that the AutomationId of the Docking is present. I have tested the same project with CodedUI and was able to locate the Docking control. Can you please share a video of demonstrating how CUIT cannot find the control as well as please let me know what is the exact version of UI for WPF you are using? If you are using an old one - I would like to ask you to download the latest release test the same scenario.

I'm looking forward to hearing from you.

Regards,
Kalin
Progress Telerik
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
Docking
Asked by
Simon Störmer
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Simon Störmer
Top achievements
Rank 1
Kalin
Telerik team
Share this question
or