0

Unable to load IE Browser in Cucumber ,Java Framework

Serenity Properties File

webdriver.driver=iexplorer
webdriver.ie.driver = C:/Selenium/IEDriverServer.exe

When Running the test getting Exception Stating Caused by:

java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.ie.driver system property

Marit
  • 2,399
  • 18
  • 27
user1286151
  • 23
  • 1
  • 1
  • 5
  • Check this [Driver executable must be set by the webdriver.ie.driver system property](https://stackoverflow.com/questions/10995314/driver-executable-must-be-set-by-the-webdriver-ie-driver-system-property) – tomasz.myszka Nov 02 '17 at 13:51

1 Answers1

1

You should set the path with System.setProperty("webdriver.ie.driver", C:\Selenium\IEDriverServer.exe);

Mr Cas
  • 628
  • 1
  • 6
  • 12