@Test
	public void testBrandstofBestellen() throws Exception {
		File f = new File("C:/Users/Jacky/Dropbox/Themaopdracht 4/CSVTestdata/BrandstofBestellenTest.csv");
		if (f.exists() && f.isFile()) {
			String voorraadnaam;
			String minimalevoorraad;
			String voorraad;
			String producten;
			FileReader fr = new FileReader(f);
			BufferedReader br = new BufferedReader(fr);
			String line;
			while ((line = br.readLine()) != null) {
				Scanner sc = new Scanner(line);
				sc.useDelimiter(";");
				while (sc.hasNext()) {
					voorraadnaam = sc.next();
					minimalevoorraad = sc.next();
					voorraad = sc.next();
					producten = sc.next();
					driver.get(baseUrl + "/ATD-Windows/index.jsp");
					driver.findElement(By.name("naam")).clear();
					driver.findElement(By.name("naam")).sendKeys("admin@ikbendeadmin.nl");
					Thread.sleep(2000L);
					driver.findElement(By.name("wachtwoord")).clear();
					driver.findElement(By.name("wachtwoord")).sendKeys("admin");
					Thread.sleep(2000L);
					driver.findElement(By.cssSelector("input[type=\"submit\"]")).click();
					Thread.sleep(4000L);

					WebElement mnuElement;
					mnuElement = driver.findElement(By.id("voorraadbeheer"));
					mnuElement.click();

					Actions builder = new Actions(driver);
					builder.moveToElement(mnuElement).perform();
					Thread.sleep(4000L);
					driver.findElement(By.id("brandstof bestellen")).click();
					driver.get("http://localhost:8080/ATD-Windows/brandstof_bestellen.jsp");
					Thread.sleep(4000L);

					driver.findElement(By.linkText("Voeg een brandstof toe")).click();
					Thread.sleep(4000L);
					driver.findElement(By.name("voorraadNaam")).clear();
					driver.findElement(By.name("voorraadNaam")).sendKeys(voorraadnaam);
					Thread.sleep(2000L);
					driver.findElement(By.name("voorraadMin")).clear();
					driver.findElement(By.name("voorraadMin")).sendKeys(minimalevoorraad);
					Thread.sleep(2000L);
					driver.findElement(By.name("voorraad")).clear();
					driver.findElement(By.name("voorraad")).sendKeys(voorraad);
					Thread.sleep(2000L);
					driver.findElement(
					By.cssSelector("div.content > form > input[type=\"submit\"]")).click();
					Thread.sleep(4000L);
					driver.findElement(By.name("prod_14")).clear();
					driver.findElement(By.name("prod_14")).sendKeys(producten);
					Thread.sleep(2000L);
					driver.findElement(By.name("bestel")).click();
					Thread.sleep(4000L);
					driver.findElement(By.xpath("//tr[@id='headRow']/td[8]/a/img")).click();
					Thread.sleep(4000L);
					driver.findElement(
					By.cssSelector("div.content > form > input[type=\"submit\"]")).click();
					Thread.sleep(4000L);
					driver.findElement(By.cssSelector("input[type=\"submit\"]")).click();
					Thread.sleep(4000L);
				}
				line = br.readLine();
				sc.close();
			}
			br.close();
		}
	}