Troubleshooting Exceptions: System.Windows.Automation.ElementNotAvailableException

An ElementNotAvailableException exception contains information about the exception that is raised when an attempt is made to access a UI AutomationElement corresponding to a part of the user interface that is no longer available.

This exception can be raised if the element is in a dialog box that has been closed, or in an application that has been closed or terminated.

Community Additions