if (cellValue.getCellType() == Cell.CELL_TYPE_BOOLEAN) {
result = cellValue.getBooleanValue();
} else if (cellValue.getCellType() == Cell.CELL_TYPE_NUMERIC) {
result = cellValue.getNumberValue();
} else if (cellValue.getCellType() == Cell.CELL_TYPE_STRING) {
result = cellValue.getStringValue();
}
}
catch(Exception e){
e.printStackTrace();
}
return result;
}
public void OpenIE(String URL) throws InterruptedException {
System.setProperty("webdriver.ie.driver", "G:\\Selenium\\IEDriverServer.exe");
driver = new InternetExplorerDriver();
driver.get(URL);
Thread.sleep(2000);