public void Init()
 {
     Driver.Initialize();
     ClientPortal_LoginPage.GoTo(Parameters.integration_URL_client_portal);
     Thread.Sleep(5000);
     ClientPortal_LoginPage.LoginAs(Parameters.username_integration).WithPassword(Parameters.password_integration).Login();
 }
예제 #2
0
 public void Login_WrongUsername()
 {
     ClientPortal_LoginPage.GoTo(Parameters.integration_URL_client_portal);
     ClientPortal_LoginPage.LoginAs("*****@*****.**").WithPassword("1").Login();
     Thread.Sleep(1000);
     Assert.IsTrue(ClientPortal_LoginPage.IncorrectCredentials, "Login successfully");
 }
예제 #3
0
 public void Login_successfully()
 {
     ClientPortal_LoginPage.GoTo(Parameters.integration_URL_client_portal);
     ClientPortal_LoginPage.LoginAs("*****@*****.**").WithPassword("1").Login();
     Thread.Sleep(1000);
     Assert.IsTrue(DashboardPage.IsAt, "Failed to login");
 }
예제 #4
0
 public void Login_NoUsername_NoPassword()
 {
     ClientPortal_LoginPage.GoTo(Parameters.integration_URL_client_portal);
     ClientPortal_LoginPage.LoginAs("").WithPassword("").Login();
     Assert.IsTrue(ClientPortal_LoginPage.IncorrectCredentials, "Login successfully");
 }