I'm using UIAutomation via COM interface in my WPF client app. Some users sometimes are taking hangs of their specific apps (like nVidia Control Panel). My app recieves that exception:
System.Runtime.InteropServices.COMException (0x80131505): Operation timed out. (Exception from HRESULT: 0x80131505) in UIAutomationClient.IUIAutomationElement.FindAll (TreeScope scope, IUIAutomationCondition condition).
I cannot reproduce this on my PC.
- Do you have experience with that kind of problems?
- Do you have any workarounds for that cases?
- Can I somehow decrease COM timeout? maybe this will fix the issue