web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Single user testing - browser zoom issue

(0) ShareShare
ReportReport
Posted on by 605

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).

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    Hi Saju,

    Did you also try to set the zoom level in IE itself? Then close IE, reopen and check if it will be opened on 100% again?

  • Saju Kanakaraj Profile Picture
    605 on at

    Hi Andre,

    Yes, I setup zoom level to 100% in browser itself. When browser is triggered by selenium,  it is opening with default value as 125%.

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Saju

    Have you tried this solution answers.microsoft.com/.../19510f5a-c339-45d1-b74e-edc885ef5517

    BR Sergei

  • Verified answer
    Saju Kanakaraj Profile Picture
    605 on at

    Hi Andre,

    The issue is fixed.

    I followed below steps.

    1. Logged off the cloud hosted development server.

    2. Modified the display settings in my local system. Right click(Desktop > Display settings > Change the size of the text, apps and other items to 100%

    3. Logged in again to Dev server.

  • Saju Kanakaraj Profile Picture
    605 on at

    Hi Sergey,

    Thank you for the suggestion.

    Indeed, I tried with all the options but didn't work.

    I am able to manage now by changing local system display settings. Please check my last comment.

  • Satish Panwar Profile Picture
    14,671 Moderator on at

    Thanks Saju for posting the solution to the problem. I have marked your answer as verified.

  • Saju Kanakaraj Profile Picture
    605 on at

    Thank you Satish

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans