This is a migrated thread and some comments may be shown as answers.

Web Driver Issue on Edge Browser

4 Answers 474 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sumit
Top achievements
Rank 1
Sumit asked on 05 Apr 2019, 06:50 AM

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

4 Answers, 1 is accepted

Sort by
0
Plamen Mitrev
Telerik team
answered on 05 Apr 2019, 01:22 PM
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!
0
Sumit
Top achievements
Rank 1
answered on 08 Apr 2019, 08:12 AM

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

0
Plamen Mitrev
Telerik team
answered on 09 Apr 2019, 10:00 AM
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!
0
Sumit
Top achievements
Rank 1
answered on 09 Apr 2019, 01:33 PM

Hello Plamen Mitrev,

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

With Warm Regards,
Sumit Kumar

saranya
Top achievements
Rank 1
Iron
commented on 12 Jul 2022, 11:30 PM

hi

Even i m facing same issue. I have msedgedriver.exe in c:/temp folder.

How to use this .exe in telerik code.

Webdriver path added in registry also.

Please help

 

 

 

 

Elena
Telerik team
commented on 14 Jul 2022, 01:35 PM

Hi Saranya, 

You are addressing a post from over 2 years ago, when the technology of the Edge browser was different. This is now deprecated and is no longer available for download and installation.

The latest versions of Edge, which are Chromium based, do not require the Microsoft WebDriver for test automation with Test Studio and the Telerik Testing Framework. The Edge automation is now supported with the Progress Telerik Test Studio Extension. 

On a side note you have submitted one more forum thread in which we discuss your specific issues in further details. I will appreciate if we keep the discussion on topic in that thread.

Thank you in advance for your understanding.

Tags
General Discussions
Asked by
Sumit
Top achievements
Rank 1
Answers by
Plamen Mitrev
Telerik team
Sumit
Top achievements
Rank 1
Share this question
or