Hi
I am working on single user testing using PerfSDK.
When I run the test, I receive below error.
Error: "Unexpected error launching Internet Explorer. Browser zoom level was set to 125%. It should be set to 100% (SessionNotCreated)"
To fix this, I have modified registry(Regedit) to set the default zoom value to 100% for internet explorer.
The browser is again opened with 125% zoom during execution.
Will appreciate input on this.
Result StackTrace:
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 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.InternetExplorerBrowser.GetWebDriver(Uri initialUri)
at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.Browser.SeleniumBrowser.LaunchWithAuthentication(Uri targetUri)
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 MS.Dynamics.Performance.Application.TaskRecorder.SalesCreationPerfTestingBase.TestSetup() in K:\PerfSDK\PerfSDKLocalDirectory\SampleProject\PerfSDKSample\Generated\SalesCreationPerfTestingBase.cs:line 50
Result Message: Initialization method MS.Dynamics.Performance.Application.TaskRecorder.SalesCreationPerfTestingBase.TestSetup threw exception. System.InvalidOperationException: System.InvalidOperationException: Unexpected error launching Internet Explorer. Browser zoom level was set to 125%. It should be set to 100% (SessionNotCreated).