2 Replies Latest reply: May 1, 2013 8:40 AM by gimbal2 RSS

    gettting classnotfound exception in eclispe


      I am writing a simple selenium code using webdriver. follwoing is the code
      package test.selenium;
      import org.openqa.selenium.WebDriver;
      import org.openqa.selenium.firefox.FirefoxDriver;
      public class testBasicFirefoxDriver {
       public static void main(String[] args) {
           WebDriver driver = new FirefoxDriver();
      Issue is all jars of selenium is on classpath but still I am getting error classnotfoundexception . I am really confused over this. Please help me out.
      Also if I replace firefoxdriver with InternetExplorerDriver() then it runs successfully.

      Edited by: Prem on May 1, 2013 4:28 AM