示例#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);
 }
示例#2
0
 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");
 }