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); }
public static void DMIWithInvalidPassword(IWebDriver driver) { Enter.Into(driver, DMILoginPage.UsernameField, "qa9"); Enter.Into(driver, DMILoginPage.PasswordField, "Password123."); Click.Button(driver, DMILoginPage.LoginButton); WaitFor.Element(driver, DMILoginPage.UsernameField); }
public static void Equals(IWebDriver driver, string value) { Enter.Into(driver, By.Id("dx-col-55"), "THIS IS A TEST"); }