I hope this helps you . AutomationProperties.LiveSetting cannot be used in WPF. It can be used with XAML only for developing windows store app or mobile app. In case of a store/phone app, a different library of AutomationProperties is used which supports the usage of LiveSettings. In case of WPF app, there is a different library of AutomationProperties which doesn't have the LiveSettings property.
this will help AutomationProperties.Name is a descriptive name for the control that can be evaluated by automation clients it doesn't have to be unique. AutomationProperties.AutomationId is the ID for the control that uniquely identifies it across the whole UI.
around this issue Here are some differences I found: It seems like Inspect.exe (former UISpy.exe) can only read .AutomationId, but not .AutomationName this two links about name and automationId might be useful as well. biggest difference from the two links: "If AutomationProperties.AutomationId is not specifically set, it returns the AutomationProperties.Name property value." this is not specified for the name property. If neither AutomationProperties.AutomationId nor AutomationProperties.Name are set, and in xaml the Name (not x:Name, that one doesn't work!!) is set, then the AutomationProperties.AutomationId is set to the same value as the Name Property is (be aware that I mean two differnt things with the Name (standard XAML Property) and AutomationProperties.Name!!)