How To Resolve IllegalStateException for IEdriver in Selenium

Share and Enjoy !

This is a very common problem and I found the solution while doing a preliminary checklist.

Well, this problem occurred when my friend tried to execute his first selenium script with IE.

As per code concern he has used..

System.setProperty("","C:\Perl64\bin\IEDriverServer" );
InternetExplorerDriver d3 = new InternetExplorerDriver();

With this he got the below written exception..

Exception in thread "main" java.lang
.IllegalStateException: The driver executable does not exist: C:Perl64binIEDriverServer
at org.openqa.selenium.remote.service.DriverService.checkExecutable(
at org.openqa.selenium.remote.service.DriverService.findExecutable(

Its complaining that the IEDriver does not exist  “The driver executable does not exist: C:Perl64binIEDriverServer

Now question is how to solve this problem, well..while doing a preliminary check list I found the basic problem i.e like most of us he forgot to add .exe in the driver.  i.e.–

System.setProperty("","C:\Perl64\bin\IEDriverServer.exe" );
InternetExplorerDriver d3 = new InternetExplorerDriver();

This code worked fine.

Share and Enjoy !

12 thoughts on “How To Resolve IllegalStateException for IEdriver in Selenium

  1. Awesome Post.Your information about android is really interesting. The content show cases your in-depth knowledge. Thanks for Sharing.

  2. I was surfing the net and luckily I came across this site and found some very interesting things here. It’s a lot of fun to read. I really enjoyed it. Thank you for sharing this wonderful information.

  3. I have read good things here. Definitely worth to bookmark again. I am amazed at how much effort you put into creating such an informative website.

  4. Terrific post thoroughly enjoyed reading the blog and more over found to be the tremendous one. In fact, educating the participants with it’s amazing content. Hope you share the similar content consecutively.

  5. Really wonderful blog completely enjoyed reading and learning to gain the vast knowledge. Eventually, this blog helps in developing certain skills which in turn helpful in implementing those skills. Thanking the blogger for delivering such a beautiful content and keep posting the contents in upcoming days.

  6. Extraordinary blog went amazed with the content that they have developed in a very descriptive manner. This type of content surely ensures the participants to explore themselves. Hope you deliver the same near the future as well. Gratitude to the blogger for the efforts.

  7. Tremendous blog quite easy to grasp the subject since the content is very simple to understand. Obviously, this helps the participants to engage themselves in to the subject without much difficulty. Hope you further educate the readers in the same manner and keep sharing the content as always you do.

  8. Stupendous blog huge applause to the blogger and hoping you to come up with such an extraordinary content in future. Surely, this post will inspire many aspirants who are very keen in gaining the knowledge. Expecting many more contents with lot more curiosity further.

  9. Fantastic blog extremely good well enjoyed with the incredible informative content which surely activates the learners to gain the enough knowledge. Which in turn makes the readers to explore themselves and involve deeply in to the subject. Wish you to dispatch the similar content successively in future as well.

  10. I’m really thankful that I read this. It’s extremely valuable and quite informative and I truly learned a great deal from it.

Leave a Reply

Your email address will not be published. Required fields are marked *