During tests run some instances of Ranorex.TestExecMonitor stray opened, what corrupts other tests, object recognition not working properly.
Ranorex version 9.3.2
Code: Select all
2020-09-30 07:15:43.472|ERROR|Ranorex.Plugin.WpfRootRule|Failed to inject into new app domains: System.Runtime.InteropServices.COMException (0x8007001F): A device attached to the system is not functioning. (Exception from HRESULT: 0x8007001F)
Server stack trace:
at Ranorex.Libs.WinApi.ICLRMetaHost.EnumerateLoadedRuntimes(IntPtr hndProcess)
at Ranorex.Core.Injection.DomainUtil.GetEnumeratedLoadedRuntimes(ICLRMetaHost metaHost, IntPtr processHandle)
at Ranorex.Core.Injection.DomainUtil.GetAllAppDomains(Process process, ICLRMetaHost metaHost)
at Ranorex.Core.Injection.DomainUtil.GetAllAppDomains(Process process)
at Ranorex.Core.Injection.DotNetThingy.UpdateDomainInfos()
at Ranorex.Core.Injection.DotNetThingy.GetAppDomainIds()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Ranorex.Core.Injection.IDotNetThingy.GetAppDomainIds()
at Ranorex.Plugin.WpfRootRule.TryInjectIntoNewAppDomains(GlueRuleExecutionState state, Win32FlavorElement candidate, WpfAutomationWrapper[] proxies)
2020-09-30 07:15:43.472| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 4197836 in process 'Ranorex.TestExecMonitor', pid 37752
2020-09-30 07:15:53.964| INFO|Ranorex.Report|Test: Test Module 'Open_Navigator_Link_QuoteBuilder' completed with status 'Success'.
2020-09-30 07:15:54.791| INFO|Ranorex.Report|Test: Test Module 'Validate_Form_Opened_ctlQuoteBuilderExpress' started.
2020-09-30 07:15:55.431| INFO|Ranorex.Report|Wait: Waiting 5s for the attribute 'Visible' to equal the specified value 'True'. Associated repository item: 'ApplicationContainer.Quotes.ctlQuoteBuilderExpress'
2020-09-30 07:16:12.782| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 10422168 in process 'Ranorex.TestExecMonitor', pid 23428
2020-09-30 07:16:13.620| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 8196442 in process 'Ranorex.TestExecMonitor', pid 129644
2020-09-30 07:16:14.006| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 4985328 in process 'Ranorex.TestExecMonitor', pid 20488
2020-09-30 07:16:14.732| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 6095940 in process 'Ranorex.TestExecMonitor', pid 119628
2020-09-30 07:16:15.259| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 6162992 in process 'Ranorex.TestExecMonitor', pid 26120
2020-09-30 07:16:16.408| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 2559976 in process 'Ranorex.TestExecMonitor', pid 28100
2020-09-30 07:16:17.046| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 4460454 in process 'Ranorex.TestExecMonitor', pid 98052
2020-09-30 07:16:18.348| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 4460348 in process 'Ranorex.TestExecMonitor', pid 22320
2020-09-30 07:16:19.583| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 8195256 in process 'Ranorex.TestExecMonitor', pid 66844
2020-09-30 07:16:20.929| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 7343452 in process 'Ranorex.TestExecMonitor', pid 33052
2020-09-30 07:16:21.822| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 4330042 in process 'Ranorex.TestExecMonitor', pid 46632
2020-09-30 07:16:22.747| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 1774728 in process 'Ranorex.TestExecMonitor', pid 73884
2020-09-30 07:16:24.085| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 4656050 in process 'Ranorex.TestExecMonitor', pid 10668
2020-09-30 07:16:25.154| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 7213800 in process 'Ranorex.TestExecMonitor', pid 74128
2020-09-30 07:16:26.292| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 8589072 in process 'Ranorex.TestExecMonitor', pid 138552
2020-09-30 07:16:26.885| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 5508722 in process 'Ranorex.TestExecMonitor', pid 106232
2020-09-30 07:16:27.353| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 2494118 in process 'Ranorex.TestExecMonitor', pid 109956
2020-09-30 07:16:27.621|ERROR|Ranorex.Plugin.WpfRootRule|Failed to inject into new app domains: System.Runtime.InteropServices.COMException (0x8007001F): A device attached to the system is not functioning. (Exception from HRESULT: 0x8007001F)
Server stack trace:
at Ranorex.Libs.WinApi.ICLRMetaHost.EnumerateLoadedRuntimes(IntPtr hndProcess)
at Ranorex.Core.Injection.DomainUtil.GetEnumeratedLoadedRuntimes(ICLRMetaHost metaHost, IntPtr processHandle)
at Ranorex.Core.Injection.DomainUtil.GetAllAppDomains(Process process, ICLRMetaHost metaHost)
at Ranorex.Core.Injection.DomainUtil.GetAllAppDomains(Process process)
at Ranorex.Core.Injection.DotNetThingy.UpdateDomainInfos()
at Ranorex.Core.Injection.DotNetThingy.GetAppDomainIds()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Ranorex.Core.Injection.IDotNetThingy.GetAppDomainIds()
at Ranorex.Plugin.WpfRootRule.TryInjectIntoNewAppDomains(GlueRuleExecutionState state, Win32FlavorElement candidate, WpfAutomationWrapper[] proxies)
2020-09-30 07:16:27.621| WARN|Ranorex.Plugin.WpfRootRule|Failed to find any root for handle 4197836 in process 'Ranorex.TestExecMonitor', pid 37752