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
I will check the given information and write back as soon as I investigate this.
Regards,
Martin Ivanov
Progress Telerik
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
You can find the project attached in this reply.
Regards,
Martin Ivanov
Progress Telerik
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.
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