Where it clears the last text field after clicking submit, is this still a bug in WebDriver? Any workaround? Most of the tests I need to do involve filling in and submitting forms, so if this is an issue I might need to go back to RC...or anyone has a free testing tool similar to selenium in mind, and should be reliable?
//Enter class harvested
//text fields
WebElement blankyear1 = driver.findElement(By.id("combobox0-text"));
WebElement blankyear2 = driver.findElement(By.id("combobox1-text"));
WebElement blankyear3 = driver.findElement(By.id("combobox2-text"));
blankyear3.sendKeys("Barley");
blankyear1.sendKeys("Wheat");
WebDriverWait wait = new WebDriverWait(driver, 5);
wait.until(ExpectedConditions.elementToBeClickable(By.id("combobox2-text")));
Thread.sleep(3000);
//last text field that gets cleared out before or after submit? (not sure)
blankyear2.sendKeys("Wheat");
Thread.sleep(3000);
//Submit application
driver.findElement(By.name("preSubmitApplication")).click();
Thread.sleep(3000);
Thanks all.