Does CodedUI uses the Microsoft UI Automation for finding WPF controls and taking any action (like click or adding value to text box)? If not what is the difference between both.
The reason why I asked this question is, I am in middle of creating automated test cases for a WPF application which is using DevExpress controls and I'm currently using CodedUI for the same. But few days back I came to know (from one DevExpress support ticket), that DevExpress controls don't support CodedUI but they do support Microsoft UI Automation framework, and then I search for UI Automation and found some links which say that CodedUI uses UI Automation for WPF. So I created couple of test cases in both and found that it is more difficult (in terms of time) for CodedUI to locate elements than UI Automation.
But before moving all test cases from CodedUI to UI AUtomation (i.e. from Microsoft.VisualStudio.TestTools.UITesting.WpfControls to System.Windows.Automation) I want to make sure that UI Automation is the right option for me.