Im trying to run test cases by calling debug dll from cmd, but all tests failed due to an error I found in log files:
Test method SeleniumUnitTest.SearchTests.SearchByProviderLocationTest threw exception: OpenQA.Selenium.DriverServiceNotFoundException: The IEDriverServer.exe file does not exist in the current directory or in a directory on the PATH environment variable. The driver can be downloaded at http://selenium-release.storage.googleapis.com/index.html.
Says that IEDriverServer.exe does not exists, but the driver is already on the DLL directory... also I dont have issues when I run unit tests from visual studio.
The command I runned is:
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\mstest.exe" /testcontainer:"C:\Users\John\Source\Repos\APP\Src\App.TestSelenium\bin\Debug\App.TestSelenium.dll"
Any idea?
Thank you.