public static void AutomationElementGetType(AutomationElement element) { Dump("GetType()", true, element); try { Type obj = element.GetType(); } catch (Exception exception) { VerifyException(element, exception, typeof(ElementNotAvailableException)); } }