Beispiel #1
0
 public static void DMI(IWebDriver driver)
 {
     Enter.into(driver, DMILoginPage.usernameField, "qa1");
     Enter.into(driver, DMILoginPage.passwordField, "Password123.");
     Click.button(driver, DMILoginPage.loginButton);
     WaitFor.element(driver, DMIDashboardPage.dashboard);
 }
Beispiel #2
0
 public static void DMIWithInvalidUsername(IWebDriver driver)
 {
     Enter.into(driver, DMILoginPage.usernameField, "invalidusernameTest");
     Enter.into(driver, DMILoginPage.passwordField, "Password123.");
     Click.button(driver, DMILoginPage.loginButton);
     WaitFor.element(driver, DMILoginPage.usernameField);
 }
Beispiel #3
0
 public static void DMI(IWebDriver driver)
 {
     Click.button(driver, DMIDashboardPage.accountDropDownToggle);
     Click.lastButtonByCSS(driver);
     WaitFor.element(driver, DMILoginPage.usernameField);
 }