is not a valid System.Windows.Automation.AutomationPeer. It is expected to be associated with a Window known to Automation. ...