Skip to content

Instantly share code, notes, and snippets.

@Somatori
Created July 16, 2018 14:19
Show Gist options
  • Save Somatori/e5cc9160a6ff6902a3e4fe1b91d7bda4 to your computer and use it in GitHub Desktop.
Save Somatori/e5cc9160a6ff6902a3e4fe1b91d7bda4 to your computer and use it in GitHub Desktop.
Error
Test Name: People_ContactEditingManually
Test FullName: Autotesting.Suites.Tests.People.ContactsAddingAndEditing.People_ContactEditingManually
Test Source: D:\___Reply\Programming\Reply\TestAutomation\autotesting\Autotesting.Suites\Tests\People\ContactsAddingAndEditing.cs : line 40
Test Outcome: Failed
Test Duration: 0:00:01.113
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.ExecuteScriptCommand(String script, String commandName, Object[] args)
at OpenQA.Selenium.Remote.RemoteWebDriver.ExecuteScript(String script, Object[] args)
at Autotesting.Utilities.Browser.ExecuteJavaScript(String javaScript, Object[] args)
at Autotesting.Utilities.Browser.<WaitAngular>b__13_0(IWebDriver driver)
at OpenQA.Selenium.Support.UI.DefaultWait`1.Until[TResult](Func`2 condition)
at Autotesting.Utilities.Browser.WaitAngular(Int32 seconds)
at Autotesting.WebPages.Navigator.GoToLoginPage()
at Autotesting.Suites.Tests.People.ContactsAddingAndEditing.OnTestMethodStart() in D:\___Reply\Programming\Reply\TestAutomation\autotesting\Autotesting.Suites\Tests\People\ContactsAddingAndEditing.cs:line 17
--TearDown
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.set_Url(String value)
at OpenQA.Selenium.Remote.RemoteNavigator.GoToUrl(Uri url)
at Autotesting.Utilities.Browser.Navigate(Uri url)
at Autotesting.WebPages.Navigator.Logout()
at Autotesting.Suites.Tests.People.ContactsAddingAndEditing.OnTestMethodEnd() in D:\___Reply\Programming\Reply\TestAutomation\autotesting\Autotesting.Suites\Tests\People\ContactsAddingAndEditing.cs:line 65
Result Message:
OpenQA.Selenium.WebDriverException : Unexpected error. System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted 127.0.0.1:60043
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
TearDown : OpenQA.Selenium.WebDriverException : Unexpected error. System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted 127.0.0.1:60043
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment