Regression suite automation tool - MSEdgeDriver - OpenQA.Selenium.WebDriverException #170
Description
Hi,
I've got a problem running MS Regression Suite Automation Tool on Windows 11 avd machine. It uses Selenium and MSEdgedriver. I use the drivers which were recommended by MS:
While running a test msedgedriver start but is not doing anything and I get underneath scenario:
Soon after 2 attempts I get this error:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> OpenQA.Selenium.WebDriverException: Cannot start the driver service on http://localhost:20022/
at OpenQA.Selenium.DriverService.Start()
at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.Browser.MicrosoftEdgeBrowser.GetWebDriver(Uri initialUri)
at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.Browser.SeleniumBrowser.LaunchWithAuthentication(Uri targetUri)
at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.Browser.AuthenticatedBrowser.<>c__DisplayClass10_0.b__0()
at MS.Dynamics.TestTools.CloudCommonTestUtilities.TransientExceptionRetryStrategy.Execute[TException](Action action, Action failureHandler, Func2 verifyExceptionHandler, Int32 retryCount)
at MS.Dynamics.TestTools.CloudCommonTestUtilities.TransientExceptionRetryStrategy.Execute[TException](Action action, Action failureHandler, Int32 retryCount)
at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.Browser.AuthenticatedBrowser.CreateSession(SupportedBrowser browser, IAuthenticator authenticator, Uri launchUri)
at Microsoft.Dynamics.TestTools.Dispatcher.JsDispatcher.OpenPipeline()
at Microsoft.Dynamics.TestTools.Dispatcher.JsDispatcher.OpenClient(ClientState initialState, ClientBehavior behavior)
at Microsoft.Dynamics.TestTools.Dispatcher.Client.DispatchedClient.SetClientState(ClientState state)
at Microsoft.Dynamics.TestTools.Dispatcher.Client.DispatchedClient.set_Company(String value)
at RegressionSuiteTestConnection.FnOEnvironment.Connect()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Dynamics.RegressionSuite.Loader.ExecuteMethod(String methodName)
at Microsoft.Dynamics.RegressionSuite.Loader.ExecuteMethod(String methodName)
at Microsoft.Dynamics.RegressionSuite.WpfApp.ViewModel.Settings.General.FnOSettingsViewModel.TestConnectionToFnO()
If anybody had this issue and knows how to resolve please let me know.