コード例 #1
0
        public void BeforeTests()
        {
            testsPage = new TestsPage(driver);

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