Beispiel #1
0
        public static void Register()
        {
            NavigateTo.Register();
            ModalAccount pageModalAccount = new ModalAccount();
            Index        pageIndex        = new Index();

            pageModalAccount.txtEmail.SendKeys(Settings.AccountRegister.email);
            pageModalAccount.txtName.SendKeys(Settings.AccountRegister.nombre);
            pageModalAccount.txtPassword.SendKeys(Settings.AccountRegister.password);
            pageModalAccount.btnRegister.Click();
            Thread.Sleep(2000);
        }
Beispiel #2
0
        public static void RegisterWithGmail()
        {
            NavigateTo.Register();
            ModalAccount pageModalAccount = new ModalAccount();
            LoginGoogle  pageLoginGoogle  = new LoginGoogle();
            Index        pageIndex        = new Index();

            Thread.Sleep(3000);
            pageModalAccount.btnGoogle.Click();
            Actions.UpdateDriver();
            pageLoginGoogle.txtEmail.SendKeys(Settings.GmailAccount.email);
            pageLoginGoogle.btnNext.Click();
            Thread.Sleep(3000);
            pageLoginGoogle.txtPassword.SendKeys(Settings.GmailAccount.password);
            pageLoginGoogle.btnNext.Click();
            Thread.Sleep(3000);
        }