System.ArgumentNullException in UIAutomationClient
Clash Royale CLAN TAG #URR8PPP System.ArgumentNullException in UIAutomationClient I received the following error: An unhandled exception of type 'System.ArgumentNullException' occurred in UIAutomationClient.dll Additional information: Value cannot be null. it appears at textImage. Here is my code // localize "Versicherungsnehmer" AutomationElement textVN = windowCOB.FindFirst(TreeScope.Descendants, new PropertyCondition(AutomationElement.NameProperty, "Versicherungsnehmer ")); // jump to next item (no text, just an image named "") AutomationElement textImage = TreeWalker.ControlViewWalker.GetNextSibling(textVN); // jump to next item "textAnsprache" which has a Name in inspect) AutomationElement textAnsprache = TreeWalker.ControlViewWalker.GetNextSibling(textImage); // read Value "Ansprache" from Inspect string vnAnsprache = textAnsprache.Current.Name; I assume the error is due to the fact that textImage is not a actual text/word...