@Test
	public void testRapportagesMaken() throws Exception {
		File f = new File("C:/Users/Jacky/Dropbox/Themaopdracht 4/CSVTestdata/RapportagesMakenTest.csv");
		if (f.exists() && f.isFile()) {
			String hoogstebtwperproduct;
			String gemiddeldebtwperproduct;
			String hoogstebtwpertransactie;
			String gemiddeldebtwpertransactie;
			String omzet;
			String winst;
			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()) {
					hoogstebtwperproduct = sc.next();
					gemiddeldebtwperproduct = sc.next();
					hoogstebtwpertransactie = sc.next();
					gemiddeldebtwpertransactie = sc.next();
					omzet = sc.next();
					winst = sc.next();
					driver.get(baseUrl + "/ATD-Windows/index.jsp");
					driver.findElement(By.name("naam")).clear();
					driver.findElement(By.name("naam")).sendKeys("admin@ikbendeadmin.nl");
					driver.findElement(By.name("wachtwoord")).clear();
					driver.findElement(By.name("wachtwoord")).sendKeys("admin");
					Thread.sleep(4000L);
					driver.findElement(By.cssSelector("input[type=\"submit\"]")).click();
					Thread.sleep(4000L);

					WebElement mnuElement;
					mnuElement = driver.findElement(By.id("betalingen/facturatie"));
					mnuElement.click();

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

					driver.findElement(By.name("hoogsteBTWPerProduct")).clear();
					driver.findElement(By.name("hoogsteBTWPerProduct")).sendKeys(hoogstebtwperproduct);
					Thread.sleep(2000L);
					driver.findElement(By.name("gemiddeldeBTWPerProduct")).clear();
					driver.findElement(By.name("gemiddeldeBTWPerProduct")).sendKeys(gemiddeldebtwperproduct);
					Thread.sleep(2000L);
					driver.findElement(By.name("hoogsteBTWPerTransactie")).clear();
					driver.findElement(By.name("hoogsteBTWPerTransactie")).sendKeys(hoogstebtwpertransactie);
					Thread.sleep(2000L);
					driver.findElement(By.name("gemiddeldeBTWPerTransactie")).clear();
					driver.findElement(By.name("gemiddeldeBTWPerTransactie")).sendKeys(gemiddeldebtwpertransactie);
					Thread.sleep(2000L);
					driver.findElement(By.name("omzet")).clear();
					driver.findElement(By.name("omzet")).sendKeys(omzet);
					Thread.sleep(2000L);
					driver.findElement(By.name("winst")).clear();
					driver.findElement(By.name("winst")).sendKeys(winst);
					Thread.sleep(2000L);
					driver.findElement(By.name("press")).click();
					Thread.sleep(2000L);
					driver.switchTo().alert().accept();
					Thread.sleep(4000L);
					driver.findElement(By.cssSelector("input[type=\"submit\"]")).click();
					Thread.sleep(2000L);
				}
				line = br.readLine();
				sc.close();
			}
			br.close();
		}
	}