does SfDataGrid supports System.Windows.Automation ?

I'm writing UI tests.

CUITs  is deprecated in VS2022 so I decided to use Microsoft UI Automation.

But I think Syncfusion WinForms controls does not fully support  UI Automation.


Dim patterns As AutomationPattern() = element.GetSupportedPatterns()

returns empty array so I cant interract with control. I suppouse patters are not implemented.


'element' is a 

System.Windows.Automation.AutomationElement

 pointing to SfDataGrid object:

New PropertyCondition(AutomationElement.AutomationIdProperty, "SfDataGrid1")


Is there a plans to support UI Automation to make modern UI tests enabled for Syncfusion controls?


2 Replies

SB Sweatha Bharathi Syncfusion Team May 19, 2025 01:33 PM UTC

Hi Michal Samolej ,



We are currently analyzing the reported scenario and require additional time for validation. We will provide further update on May 21 , 2025

 


Regards,
Sweatha.B



SB Sweatha Bharathi Syncfusion Team May 21, 2025 01:59 PM UTC

Hi Michal Samolej ,


We have reviewed your query. Syncfusion controls can be automated using the Automation element; however, access through the extension is currently not available. Our team is actively working on this scenario.
 
We suggest using TestComplete, which is a reliable automation tool that supports UI automation for Syncfusion controls. Are you currently using any UI automation tools? If so, could you please let us know which one you're using and whether you have any specific questions or concerns?




Regards,
Sweatha.B

Loader.
Up arrow icon