Esempio n. 1
0
        public void LoginButtonLoginFormTest()
        {
            PropertiesCollection.driver.Navigate().GoToUrl("http://testing.todorvachev.com");

            HomePageObject                 homePage                 = new HomePageObject();
            TestCasesPageObject            testCasesPage            = new TestCasesPageObject();
            LoginButtonLoginFormPageObject loginButtonLoginFormPage = new LoginButtonLoginFormPageObject();

            testCasesPage            = homePage.ClickTestCasesPage();
            loginButtonLoginFormPage = testCasesPage.ClickLoginButtonLoginFormPage();

            if (loginButtonLoginFormPage.btnRegButton.Displayed)
            {
                Assert.Pass();
            }
            else
            {
                Assert.Fail();
            }
        }