Hi
Below i have mentioned my code and am getting "java.lang.ClassNotFoundException: org.openqa.selenium.internal.Killable".Kindly help me out to fix this bug.
System.out.println("doGet");
try {
List<URL> url_list;
SessionFactory factory;
factory = new AnnotationConfiguration().configure().addAnnotatedClass(URL.class).buildSessionFactory();
Session session = factory.openSession();
Transaction transaction = null;
url_list = session.createQuery("from URL").list();
System.out.println("urllist size is " + url_list.size());
for (URL url : url_list) {
// FirefoxProfile firefoxProfile = new FirefoxProfile();
// firefoxProfile.setPreference("xpinstall.signatures.required", false);
System.out.println("before web driver");
WebDriver driver = new FirefoxDriver();
System.out.println("after web driver");
driver.get(url.getUrl());
// Create a new instance of the Firefox driver
//WebDriver driver = new FirefoxDriver();
driver.findElement(By.name(url.getUserNameTag())).sendKeys(url.getUsername());
// Enter Password
driver.findElement(By.name(url.getPasswordTag())).sendKeys(url.getPassword());
// Wait For Page To Load
driver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);
// Click on 'Sign In' button
driver.findElement(By.id(url.getSubmitTag())).click();
// driver.switchTo().window(urls);
// Close the browser.
driver.quit();
// transaction.commit();
}
} catch (Exception e) {
e.printStackTrace();
}
Thanks & Regards
R Prasanna Babu