X er ikke et gyldigt System.Windows.Automation.AutomationPeer-element. Det forventes at blive associeret med et vindue, der kendes i Automation-objektet.
Click to search this error in Google
English version
'X' is not a valid System.Windows.Automation.AutomationPeer. It is expected to be associated with a Window known to Automation.