Hello,
I am having difficulty running tests using Telerik Testing Framework on a new laptop that was provided by my employer. The framework works fine on my old machine, but I believe a firewall rule may be interfering with the Framework's ability to communicate to the browser or some kind of proxy.
When my test executes the line Manager.LaunchNewBrowser(configured to use a default browser of Chrome), I get this error:
System.ServiceModel.FaultException : The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
Server stack trace:
ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
IBrowserLauncher.LaunchBrowser(ILauncherOptions launchOptions)
HostsProxy.LaunchBrowser(ILauncherOptions launcherOptions)
ChromiumActions.LaunchCDPManagedBrowser(String startUrl, BrowserType browserType, Boolean windowVisible, String pathToBrowserExecutable)
ChromeActions.LaunchNewBrowserInternal(Boolean useExtension, String startUrl, Boolean disableWebSecurity, ProcessWindowStyle windowStyle)
ChromeActions.LaunchNewBrowserInstance(ProcessWindowStyle windowStyle, Manager manager)
Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
Manager.LaunchNewBrowser()
ManagerHook.LaunchBrowserAndBuildScenarioContainer() line 131
If I configure the default browser to FireFox, then the test runner seems to work.
The test runner works with Chrome on my old machine, so that leads me to believe that it is a security issue on my new machine. I want to approach my tech support with details about what might need to be opened up on the firewall in order for this to work.
Can you provide guidance on what endpoints this might be trying to hit and are getting refused?
Or can you provide guidance on how to get more details about this FaultException?
Thank you!