GuOrg / Gu.Wpf.UiAutomation

MIT License
96 stars 17 forks source link

System.TimeoutException : Did not find Process.MainWindowHandle, if startup is slow try with a longer timeout. #93

Open JohanLarsson opened 3 years ago

JohanLarsson commented 3 years ago

System.TimeoutException : Did not find Process.MainWindowHandle, if startup is slow try with a longer timeout.

   at Gu.Wpf.UiAutomation.Application.WaitForMainWindow(Process process, Nullable`1 waitTimeout)

   at Gu.Wpf.ToolTips.UiTests.MainWindowTests.ClickAllTabs() in \Gu.Wpf.ToolTips.UiTests\MainWindowTests.cs:line 14

Getting this on build servers, don't think this is dues to timing out as it is tiny apps.