tags:

views:

83

answers:

1

What is the difference between the two properties? In what context is which property used? Can you also provide a code example for each?

+1  A: 

AutomationPropert*ies*.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.

bitbonk
Thanks. Corrected the AutomationPropert*ies* mistake.
Lernkurve