Consistent error when attempting to run test suite with latest version of Edge

My test suite runs fine without any modification on both Chrome and Firefox. However, when trying to start the browser with Edge, I get the following error on the console:

09-02-2018 04:48:53 PM - [START] - Start setup action : setupTestCase

09-02-2018 04:48:53 PM - [START] - Start action : webBrowser.BrowserUtilities.startWebBrowser

09-02-2018 04:48:53 PM - [INFO] - Finding Test Object with id ‘Object Repository/Page_PTO_Logon/txt_Email’

09-02-2018 04:48:53 PM - [INFO] - Finding Test Object with id ‘Object Repository/Page_PTO_Logon/txt_Password’

09-02-2018 04:48:53 PM - [INFO] - Finding Test Object with id ‘Object Repository/Page_PTO_Logon/btn_LogOn’

09-02-2018 04:48:56 PM - [INFO] - Opening browser

09-02-2018 04:48:56 PM - [INFO] - Starting ‘Edge’ driver

[16:48:56.884] - Listening on http://localhost:24369/

09-02-2018 04:48:57 PM - [INFO] - Action delay is set to 0 seconds

09-02-2018 04:49:00 PM - [FAILED] - Unable to open browser with url: ‘http://tsi-webdev-01.tigerpawsoftware.com/Account/Login?ReturnUrl=%2F’ (Root cause: org.openqa.selenium.WebDriverException: java.net.SocketException: Connection reset

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘QA-02VM’, ip: ‘192.168.100.177’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’

Driver info: driver.version: CEdgeDriver)

09-02-2018 04:49:00 PM - [FAILED] - Unable to open browser with url: ‘http://tsi-webdev-01.tigerpawsoftware.com/Account/Login?ReturnUrl=%2F’ (Root cause: org.openqa.selenium.WebDriverException: java.net.SocketException: Connection reset

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘QA-02VM’, ip: ‘192.168.100.177’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’

Driver info: driver.version: CEdgeDriver)

09-02-2018 04:49:00 PM - [END] - End action : webBrowser.BrowserUtilities.startWebBrowser

09-02-2018 04:49:00 PM - [ERROR] - Unable to open browser with url: ‘http://tsi-webdev-01.tigerpawsoftware.com/Account/Login?ReturnUrl=%2F’ (Root cause: org.openqa.selenium.WebDriverException: java.net.SocketException: Connection reset

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘QA-02VM’, ip: ‘192.168.100.177’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’

Driver info: driver.version: CEdgeDriver)

09-02-2018 04:49:00 PM - [ERROR] -

09-02-2018 04:49:00 PM - [END] - End End action : setupTestCase

09-02-2018 04:49:00 PM - [END] - End Test Case : Test Cases/test_PTO_verifyCalendarDate

09-02-2018 04:49:00 PM - [END] - End Test Suite : Test Suites/tsuite_PTO_CalendarDate

The test suite itself is pretty straightforward; I call the webBrowser.BrowserUtilities.startWebBrowser method in the setup portion of the suite and it :

  1. opens the browser WebUI.openBrowser(GlobalVariable.webURL)
  2. clears the cookies WebUI.deleteAllCookies()
  3. then adds the necessary username and password (set from other global variables)

I’ve made certain that I’ve used the latest install of Katalon Studio and the latest available copy of Edge that my company will allow on the server (17053). Does anyone have an idea why Edge would fail this test when chrome and firefox have no issues?

Thanks in advance.

I stand corrected. The version of Edge we’re running on the virtual machine is 17134, which I assume is the latest version of the driver included with the Katalon upgrade. Any help would be appreciated.

I was able to answer my own question, and here are the steps I took to resolve the issue:

  1. Select ‘About Your PC’ and look for the value for OS build (in my case, it was 17134.228)
  2. Go to https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/ and locate the driver that matches the Win 10 OS Build (in my case, 17134), then download that version.
  3. On your machine running the tests, navigate to the configuration\resources\drivers\edgedriver folder where your Katalon Studio is installed. For safety, make a backup copy of the existing MicrosoftWebDriver.exe file.
  4. Copy the downloaded exe to this location, then re-run your tests with Edge

I assumed incorrectly that the version of MicrosoftWebDriver that came with the Katalon Studio 5.6.3 install was the latest version, but this was not the case. When I went through these steps and re-performed my tests, they worked as expected.

2 Likes