Example #1
0
 public void RegistrationMail(string login, bool all)
 {
     RegInputMail.SendKeys(login);
     RegInputPassword.SendKeys(TestData.FacebookPass);
     RegChackboxUA.Click();
     RegChackboxAgree.Click();
     RegButtonSubmit.Click();
 }
Example #2
0
        public void RegistrationPhone(string login, bool all)
        {
            //Driver.Browser.Url = TestData.MainPageURL + "/register/";
            PhoneButtonregistration.Click();
            MainPage phone = new MainPage();

            phone.FlagContainer.Click();
            phone.SelectFlagUA.Click();
            RegInputMail.SendKeys(login);
            RegInputPassword.SendKeys(TestData.FacebookPass);
            RegChackboxUA.Click();
            RegChackboxAgree.Click();
            RegButtonSubmit.Click();
        }