Exemple #1
0
        public void BeforeTests()
        {
            testsPage = new TestsPage(driver);

            testsPage
            .AccountButton()
            .AccountLoginButton()
            .EmailField("*****@*****.**")
            .PasswordField("admin123")
            .AccountLogInINButton();
        }
Exemple #2
0
 public void SQLInjection()
 {
     testsPage
     .AccountButton()
     .AccountLoginButton()
     .EmailField("admin")
     .PasswordField("admin")
     .AccountLogInINButton()
     .AssertSqlInjectionError()
     .AssertSqlInjectionErrorText();
 }
Exemple #3
0
 public void AfterTests()
 {
     testsPage
     .AccountButton()
     .AccountLogOutButton();
 }