Example #1
0
        public void GivenTheUserEnterCorrectPassword()
        {
            MainPageSteps mainpagesteps = new MainPageSteps(driver);
            var           PasswordValue = "";

            mainpagesteps.AuthorizationPasswordEnter(PasswordValue);
        }
Example #2
0
        public void GivenTheUserEnterCorrectLogin()
        {
            MainPageSteps mainpagesteps = new MainPageSteps(driver);
            var           EmailValue    = "";

            mainpagesteps.AuthorizationEmailEnter(EmailValue);
        }
Example #3
0
        static void Main(string[] args)
        {
            LoginPageSteps   loginPage   = new LoginPageSteps();
            LogoutPageSteps  logoutPage  = new LogoutPageSteps();
            MainPageSteps    mainPage    = new MainPageSteps();
            ThemesPageSteps  themePage   = new ThemesPageSteps();
            SettingPageSteps settPage    = new SettingPageSteps();
            MailBoxPageSteps mailPage    = new MailBoxPageSteps();
            LetterPageSteps  letterPage  = new LetterPageSteps();
            StarredPageSteps starredPage = new StarredPageSteps();
            SpamPageSteps    spamPage    = new SpamPageSteps();

            //MailBoxPageSteps mailPage = new MailBoxPageSteps();
            //StarredPageSteps starredPage = new StarredPageSteps();
            loginPage.Open();
            loginPage.Authorize(D.user2, D.password);
            mailPage.WriteMessage(D.user3, "For starred", "XO");
            logoutPage.CommonExit();
            loginPage.Authorize(D.user3, D.password);
            Console.WriteLine(mainPage.CheckIfItIsStarred());
            mainPage.GoToStarred();
            Console.WriteLine(starredPage.CheckIfItIsStarredPage("https://mail.google.com/mail/u/0/#starred"));
            Console.WriteLine(starredPage.CheckTheTopic("For starred"));
            Console.ReadLine();
        }
Example #4
0
        public void TCID2()
        {
            MainPageSteps mainpagesteps = new MainPageSteps(driver);

            mainpagesteps.GoTo();
            var SearchValue = "star wars episode vi";

            mainpagesteps.SearchFormTest(SearchValue);
            driver.Close();
        }
Example #5
0
        public void TCID1()
        {
            MainPageSteps mainpagesteps = new MainPageSteps(driver);

            mainpagesteps.GoTo();
            mainpagesteps.BingLogoDisplayed();
            mainpagesteps.Images();
            mainpagesteps.Videos();
            mainpagesteps.DotsTest();
            mainpagesteps.UserProfileTest();
            mainpagesteps.SearchFormVisibilityTest();
            mainpagesteps.InfoSectionTest();
            //var SearchValue = "star wars episode vi";
            //mainpagesteps.SearchFormTest(SearchValue);
            mainpagesteps.GoTo();
            //mainpagesteps.LanguageLocalization();
            driver.Close();
        }
Example #6
0
        public void ThenTheUserShouldSeeTitleWithLabel(string p0)
        {
            MainPageSteps mainpagesteps = new MainPageSteps(driver);

            mainpagesteps.BingLogoDisplayed();
        }
Example #7
0
        public void ThenTheHomePageOpens(string p0)
        {
            MainPageSteps mainpagesteps = new MainPageSteps(driver);

            mainpagesteps.BingLogoDisplayed();
        }
Example #8
0
        public void WhenTheUserPressTheButton(string p0)
        {
            MainPageSteps mainpagesteps = new MainPageSteps(driver);

            mainpagesteps.AuthorizationSignInButton();
        }
Example #9
0
        public void GivenTheUserOnTheAuthorizePage(string p0)
        {
            MainPageSteps mainpagesteps = new MainPageSteps(driver);

            mainpagesteps.GoTo();
        }