Web Driver Issue on Edge Browser

5 posts, 0 answers
  1. Sumit
    Sumit avatar
    9 posts
    Member since:
    Sep 2011

    Posted 05 Apr Link to this post

    Hi,

    We are facing issue related with execution of test on Edge Browser. It gives the following error:

    ==============================================================================

    '04-04-2019 18:48:38' - ArtOfTest.WebAii.BrowserSpecialized.MicrosoftEdge.WebDriverException: Cannot start the driver service on http://localhost:49948/.
       at ArtOfTest.WebAii.BrowserSpecialized.MicrosoftEdge.WebDriverService.Start()
       at ArtOfTest.WebAii.Messaging.Process.WebDriverCommandProcessor.StartSession(String serverPath, Manager manager)
       at ArtOfTest.WebAii.BrowserSpecialized.MicrosoftEdge.EdgeActions.LaunchNewBrowserInstance(ProcessWindowStyle windowStyle, Manager manager)
       at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
       at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
       at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)

    ====================================================================================
    Our Windows 10 Version is: 1809 (OS Build: 17763.379)

    It was working fine on the previous build of Windows 10.

    What I should do so that test will get executed on Edge browser. On IE and Chrome, it is working fine.

    With Warm Regards,

    Sumit Kumar

  2. Plamen Mitrev
    Admin
    Plamen Mitrev avatar
    79 posts

    Posted 05 Apr Link to this post

    Hello Sumit Kumar,

    As of Windows 10 version 1809, the WebDriver is a feature on demand and you need to install it. To do that, please follow the official instruction form Microsoft on this topic and check where it is installed. I believe that the default location is C:\Windows\System32\.

    After you have successfully added this feature, you need to configure the WebDriver Location in Test Studio project settings

    I hope that the above information helps. Please let me know if you need further assistance.

    Regards,
    Plamen Mitrev
    Progress Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. Sumit
    Sumit avatar
    9 posts
    Member since:
    Sep 2011

    Posted 08 Apr in reply to Plamen Mitrev Link to this post

    Hello Plamen Mitrev,

    I have already tried the solutions suggested by you and when it didn't work then I wrote in the forum.

    https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/

    There is no driver mentioned on the microsoft page related with Windows 10 Version 1809 (OS Build: 17763.379).

    Related with the location of Web driver, It is not depended on the Webdriver location as earlier, when it was working the path I had given was C:\WebDriver\
    and it was working. It has stopped working when the build version of Windows 10 has changed after windows update.

    Is there any other way we can solve this issue as the OS build will change with windows update and if Microsoft is not providing the webdriver for that specific version then we can not use Test Studio any more for testing on Edge Browser?

    With Warm Regards,
    Sumit Kumar

  4. Plamen Mitrev
    Admin
    Plamen Mitrev avatar
    79 posts

    Posted 09 Apr Link to this post

    Hello Sumit Kumar,

    The official statement from Microsoft is that the WebDriver is a feature on demand and you can install it by executing this command in an elevated command prompt - "DISM.exe /Online /Add-Capability /CapabilityName:Microsoft.WebDriver~~~~0.0.1.0". This should download the WebDriver associated with the Windows build you have (after build 17134).

    Another option to install it, is to search “Manage optional features” from Start, then select “Add a Feature” and chose “WebDriver”. Both installation types should install it in C:\Windows\System32\ and you need to fix the location in Test Studio. Please check for MicrosoftWebDriver or WebDriver.

    The future updated of your OS should update the WebDriver in the same location and you should not have issues. Please keep in mind that this change comes from Microsoft and we are providing a solution as soon as we detect the problem. That said, we have no control over the future Windows updates, but we will continue to support the Edge browser.

    I hope that the above information will help you install the WebDriver and successfully execute tests against Microsoft Edge browser. Please do not hesitate to contact us, if you need further assistance.

    Regards,
    Plamen Mitrev
    Progress Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  5. Sumit
    Sumit avatar
    9 posts
    Member since:
    Sep 2011

    Posted 09 Apr in reply to Plamen Mitrev Link to this post

    Hello Plamen Mitrev,

    Applied the second option and it solved the problem. Thank you very much.

    With Warm Regards,
    Sumit Kumar

Back to Top