0

In my thucydides.properties file I have the Following:

webdriver.ie.driver = C:\\Users\\Scott-H\\IEDriverServer.exe
webdriver.chrome.driver = C:\\Users\\Scott-H\\chromedriver.exe

chrome works fine internet explorer does not. To get ie to run I have to manualy set the system properties as so in my tests.

System.setProperty("webdriver.ie.driver", "C:\\Users\\Scott-H\\IEDriverServer.exe");

FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE

does anyone have any ideas why one would work but not the other?

@Story(Application.Search.SearchByKeyword.class)
@RunWith(ThucydidesRunner.class)
public class CreateContactTest {
@Managed
public WebDriver driver;

Where the driver is being created

user3556152
  • 105
  • 8

1 Answers1

0

To make chromedriver or iedriver work, their location must be in system PATH, or set by System.setProperty. If one work and another doesn't, it probably means they are not in PATH, and one of them is set elsewhere, while the other is not. I think your framework configuration sets chromedriver path somewhere, but doesn't do the same for IEDriver.

automatictester
  • 2,436
  • 1
  • 19
  • 34