Fixed name of login-name input field

This commit is contained in:
Dirk Jahnke 2019-07-25 11:50:14 +02:00
parent 833d86e27d
commit 3c97a83ed3
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ public class BasicTest {
@Test @Test
public void verifyLoginAsSystemUser() { public void verifyLoginAsSystemUser() {
driver.navigate().to(URL); driver.navigate().to(URL);
driver.findElement(By.name("name")).sendKeys("system"); driver.findElement(By.name("login")).sendKeys("system");
driver.findElement(By.name("password")).sendKeys("system"); driver.findElement(By.name("password")).sendKeys("system");
driver.findElement(By.name("doLogin")).submit(); driver.findElement(By.name("doLogin")).submit();
driver.switchTo().frame("oben"); driver.switchTo().frame("oben");