How is the AtomationId used in QTP? I do not see directly a property AutomationId. We did some experiments and it seems that it is sometimes bound to the devname property, but sometimes not. If this is the case how is it bound?

Is there any other property which would allow a stable recognition?

Not to forget, I'm talking about a WPF desktop application.
Thanks in advance!