-
Notifications
You must be signed in to change notification settings - Fork 289
Troubleshooting
Message: System.Exception: Login page failed.
Suggestion: Verify the username and password being used are correct by manually logging into the environment in a browser.
Suggestion: Verify the user has appropriate security roles assigned.
Message: System.InvalidOperationException: The Office 365 sign in page did not return the expected result and the user 'System.Security.SecureString' could not be signed in.
Suggestion: Verify the environment url is valid.
Message: System.TypeInitializationException: The type initializer for '{Test method namespace}.TestSettings' threw an exception. ---> System.ArgumentException: Requested value '{some value}' was not found.
Suggestion: Verify the BrowserType
in the TestSettings class is set to a valid value.
Message: System.InvalidOperationException: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line (SessionNotCreated)
Suggestion: If BrowserType
is set to 'Firefox', verify Mozilla Firefox is installed on the machine executing the tests.
Message: Test method... threw exception: OpenQA.Selenium.WebDriverException: Cannot start the driver service on...
Suggestion: If BrowserType
is set to 'Edge', verify Microsoft Edge is installed on the machine executing the tests.
Message: Test method... threw exception: OpenQA.Selenium.DriverServiceNotFoundException: The IEDriverServer.exe file does not exist in the current directory or in a directory on the PATH environment variable. The driver can be downloaded at http://selenium-release.storage.googleapis.com/index.html.
Suggestion: If BrowserType
is set to 'IE', verify Internet Explorer 11 is installed on the machine executing the tests.
Message: Test method... threw exception: System.InvalidOperationException: unknown error: cannot find Chrome binary (Driver info: chromedriver=... (...),platform=Windows NT 10.0.14393 x86_64)
Suggestion: If BrowserType
is set to 'Chrome', verify Google Chrome is installed on the machine executing the tests.
Message: Test method... threw exception: System.InvalidOperationException: unknown error: call function result missing 'value' (Session info: chrome={Google Chrome Version}) (Driver info: chromedriver={Selenium.WebDriver.ChromeDriver version} (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),platform=Windows NT 10.0.17134 x86_64)
Suggestion: If BrowserType
is set to 'Chrome', verify the version of Selenium.WebDriver.ChromeDriver is the current version supported by EasyRepro and that the installed version of Google Chrome matches is in the supported range. Example: If the current version of Selenium.WebDriver.ChromeDriver is v2.38.0 then the version of Google Chrome should be v65-67. Note: this does not automatically mean a newer version will not work but it is something to be considered when troubleshooting.