Hi Team,
We are reviewing test results for chromeheadless, we found below exception for some cases run together, which can be reproduced. But they are good for chrome, seems only chromeheadless issue.
The exception is like below, I couldn't find any clue for it, can you give me any suggestion about why such exception occur, so that we can try to fix it.
System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state. Server stack trace: at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen() at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) 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 Telerik.TestingFramework.Hosts.Common.IBrowserLauncher.LaunchBrowser(ILauncherOptions launchOptions) at ArtOfTest.WebAii.Messaging.Process.HostsProxy.LaunchBrowser(ILauncherOptions launcherOptions) at ArtOfTest.WebAii.BrowserSpecialized.Chrome.ChromeActions.LaunchCDPManagedBrowser(String startUrl, BrowserType browserType, Boolean windowVisible) at ArtOfTest.WebAii.BrowserSpecialized.Chrome.ChromeActions.LaunchNewCDPManagedBrowser(Manager manager, Boolean windowVisible) at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments) at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser() at WebAii.Framework.Context.WebTest.LaunchNewBrowser(Int32 attempts) in c:\jenkins\workspace\AutomatedTests Build\WebAii.Framework\Context\WebTest.cs:line 173 at WebAii.Framework.Context.WebTest.LaunchNewBrowser(Int32 attempts) in c:\jenkins\workspace\AutomatedTests Build\WebAii.Framework\Context\WebTest.cs:line 177 at WebAii.Framework.Context.WebTest.LaunchNewBrowser(Int32 attempts) in c:\jenkins\workspace\AutomatedTests Build\WebAii.Framework\Context\WebTest.cs:line 177 at WebAii.Framework.Context.WebTest.LaunchNewBrowser(Int32 attempts) in c:\jenkins\workspace\AutomatedTests Build\WebAii.Framework\Context\WebTest.cs:line 177 at WebAii.Framework.Context.WebTest.LaunchNewBrowser(Int32 attempts) in c:\jenkins\workspace\AutomatedTests Build\WebAii.Framework\Context\WebTest.cs:line 177 at WebAii.Framework.Context.WebTest.LaunchNewBrowser(Int32 attempts) in c:\jenkins\workspace\AutomatedTests Build\WebAii.Framework\Context\WebTest.cs:line 177 at WebAii.Framework.Context.WebTest.get_ActiveBrowser() in c:\jenkins\workspace\AutomatedTests Build\WebAii.Framework\Context\WebTest.cs:line 156 at WebAii.Framework.WebAiiSupport.get_ActiveBrowser() in c:\jenkins\workspace\AutomatedTests Build\WebAii.Framework\WebAiiAssemblyContext.cs:line 171 at WebAii.Framework.WebAiiResultSupplementer.SupplementResult(Result result) in c:\jenkins\workspace\AutomatedTests Build\WebAii.Framework\WebAiiResultSupplementer.cs:line 50 OnSpecificationStart
Thanks,
Jun
Hi Jun,
What do you mean when saying "for some cases run together" - is this a test list execution? When does the error appear - in between the test steps and stops the execution? Or it is only in the logs and doesn't affect the actual run?
Please, share some additional details for the overall setup in which you execute the tests. Also provide some results generated from the test execution and Test Studio application logging.
Thank you in advance!
Best,
Elena