LineageGlueRule 'winforms_core'

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
thenutter
Certified Professional
Certified Professional
Posts: 7
Joined: Wed Jun 05, 2013 11:40 am

LineageGlueRule 'winforms_core'

Post by thenutter » Wed Sep 28, 2022 9:54 pm

Hi All,

I'm getting an error when modal dialogs are being displayed, and the automation is not able to progress.

The logs are showing:
2022-09-28 20:04:45.145|DEBUG|Ranorex.Report|Plugins: LineageGlueRule 'winforms_core' caused TimeoutException on Execute. The operation has timed out. 2022-09-28 20:04:45.145| INFO|Ranorex.Report|LineageGlueRule 'winforms_core' caused TimeoutException on Execute. System.TimeoutException: The operation has timed out. at System.IO.Pipes.NamedPipeClientStream.Connect(Int32 timeout) at Ranorex.Core.Ipc.StreamFactory.CreateClientStreamAndConnect(Int32 processId, Int32 timeoutInMilliseconds) at Ranorex.Core.Ipc.RemoteClient`1.Connect() at Ranorex.Core.Ipc.ProxyCache.GetRemoteClient[T](Int32 processId, String[] assemblyPaths) at Ranorex.Plugin.WinFormsCoreFlavorElement.FromWin32Element(Win32FlavorElement win32Element, IList`1& limitations) at Ranorex.Plugin.WinFormsCoreRule.ExecuteInternal(GlueRuleExecutionState state, String ruleName) at Ranorex.Plugin.WinFormsCoreRule.Execute(GlueRuleExecutionState state) at Ranorex.Core.ElementEngine.ApplyGlueRules(Element element, GlueRuleExecutionStateImpl state, Boolean includeRemotes) 2022-09-28 20:04:45.145| WARN|Ranorex.Plugin.WinFormsFlavorElement|Could not find Desktop.GetProxy for hwnd: 3476928 2022-09-28 20:04:50.236|DEBUG|Ranorex.Report|Plugins: LineageGlueRule 'winforms_core' caused TimeoutException on Execute. The operation has timed out. 2022-09-28 20:04:50.236|

--

Is there anyway to increase this timeout? Or does anybody have any advice? I'm using Ranorex through the API. Using the studio it seems to persist through this error and retry.

Cheers

thenutter
Certified Professional
Certified Professional
Posts: 7
Joined: Wed Jun 05, 2013 11:40 am

Re: LineageGlueRule 'winforms_core'

Post by thenutter » Thu Sep 29, 2022 1:57 pm

I'm also seeing this in the Ranorex logs if I put the log minimum to 'Trace':

Thu Sep 29 12:27:13 2022 [ERROR]: Ranorex CoreClr Bootstrap: Could not find already loaded 'CoreClr.dll'
Thu Sep 29 12:27:13 2022 [TRACE]: Ranorex Bootstrap .NET Core CLR: success=false