ankit gupta
2015-02-05 10:45:30 UTC
if i'm using below then showing error
WebDriver driver= new InternetExplorerDriver();
String baseUrl = "http://www.demo.guru99.com/V4/";
// launch Firefox and direct it to the Base URL
driver.get(baseUrl);
Note: please suggest me if any one knows about below error
==============
*below error*
*Exception in thread "main" java.lang.IllegalStateException: The path to
the driver executable must be set by the webdriver.ie.driver system
property; for more information, see
http://code.google.com/p/selenium/wiki/InternetExplorerDriver. The latest
version can be downloaded from
http://code.google.com/p/selenium/downloads/list at
com.google.common.base.Preconditions.checkState(Preconditions.java:177) at
org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:105)
at
org.openqa.selenium.ie.InternetExplorerDriverService.access$1(InternetExplorerDriverService.java:1)
at
org.openqa.selenium.ie.InternetExplorerDriverService$Builder.build(InternetExplorerDriverService.java:230)
at
org.openqa.selenium.ie.InternetExplorerDriver.setupService(InternetExplorerDriver.java:262)
at
org.openqa.selenium.ie.InternetExplorerDriver.<init>(InternetExplorerDriver.java:181)
at
org.openqa.selenium.ie.InternetExplorerDriver.<init>(InternetExplorerDriver.java:154)
at TestScript01.main(TestScript01.java:19)*
WebDriver driver= new InternetExplorerDriver();
String baseUrl = "http://www.demo.guru99.com/V4/";
// launch Firefox and direct it to the Base URL
driver.get(baseUrl);
Note: please suggest me if any one knows about below error
==============
*below error*
*Exception in thread "main" java.lang.IllegalStateException: The path to
the driver executable must be set by the webdriver.ie.driver system
property; for more information, see
http://code.google.com/p/selenium/wiki/InternetExplorerDriver. The latest
version can be downloaded from
http://code.google.com/p/selenium/downloads/list at
com.google.common.base.Preconditions.checkState(Preconditions.java:177) at
org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:105)
at
org.openqa.selenium.ie.InternetExplorerDriverService.access$1(InternetExplorerDriverService.java:1)
at
org.openqa.selenium.ie.InternetExplorerDriverService$Builder.build(InternetExplorerDriverService.java:230)
at
org.openqa.selenium.ie.InternetExplorerDriver.setupService(InternetExplorerDriver.java:262)
at
org.openqa.selenium.ie.InternetExplorerDriver.<init>(InternetExplorerDriver.java:181)
at
org.openqa.selenium.ie.InternetExplorerDriver.<init>(InternetExplorerDriver.java:154)
at TestScript01.main(TestScript01.java:19)*
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/84d299cd-05d0-4685-8b57-df4f1a6edb34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/84d299cd-05d0-4685-8b57-df4f1a6edb34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.