Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression suite automation tool - MSEdgeDriver - OpenQA.Selenium.WebDriverException #170

Open
NicolaiManuchar opened this issue Sep 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@NicolaiManuchar
Copy link

NicolaiManuchar commented Sep 14, 2024

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:
image

While running a test msedgedriver start but is not doing anything and I get underneath scenario:

image

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.

@NicolaiManuchar NicolaiManuchar added the bug Something isn't working label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant