with version 2013.1.827 of testing framework we keep getting broken pipe errors after searching for a window:
This works fine in 2012.2.1420
it works the first time the code is called - the window is freshly created and we get a new window event, but when the window is re-used it fails. (The dock guide window has no caption - it is from the ActiPro docking framework) The window exists and is visible.
var dockGuideWindow = AtlasApp.Application.WaitForWindow(string.Empty, 10000);
var location = dockGuideWindow.Window.Location;
--->> var dockGuides = dockGuideWindow.Find.AllByType<T>(); (where T : DockGuideBase)
Exception thrown during the wait for a condition. Error: Unexpected error while waiting on condition. Error: System.IO.IOException: Pipe is broken.
at System.IO.Pipes.PipeStream.CheckWriteOperations()
at System.IO.Pipes.PipeStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at ArtOfTest.WebAii.Messaging.Process.PipeCommunication.WriteCommandToPipe(PipeCommand command, PipeStream pipe, Boolean waitForDrain)
at ArtOfTest.WebAii.Messaging.Process.BrowserRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
at ArtOfTest.WebAii.Wpf.WpfProxy.ExecuteSLCommand(SilverlightCommand cmd)
at ArtOfTest.WebAii.Wpf.WpfProxy.GetAllVisualTrees()
at ArtOfTest.WebAii.Wpf.WpfWindow.RefreshVisualTrees()
at ArtOfTest.WebAii.Silverlight.VisualFind.RefreshRoot()
at ArtOfTest.WebAii.Silverlight.VisualWait.WaitForExistsByFindInfo(VisualFindInfo findInfo)
at ArtOfTest.Common.WaitAsync._worker_DoWork[T,V](Object waitParam)
What has changed?
I have tried numerous workarounds (delays, doEvents,) to no avail