public void HelpMe(User user)
        {
            Browser.Wait();
            EmailTextField.Clear();
            EmailTextField.SendKeys(user.Email);

            Thread.Sleep(1000);
            HelpMeButton.Click();
        }
        public void Login(User user)
        {
            Browser.Wait();

            EmailTextField.Clear();
            EmailTextField.SendKeys(user.Email);

            PasswordTextField.Clear();
            PasswordTextField.SendKeys(user.Password);

            LoginButton.Click();
        }
        public void Login(String email, String password)
        {
            Browser.Wait();

            EmailTextField.Clear();
            EmailTextField.SendKeys(email);

            PasswordTextField.Clear();
            PasswordTextField.SendKeys(password);

            LoginButton.Click();
        }
Exemple #4
0
        public void LoginToApp(string username, string password)
        {
            AccountIcon.Click();
            Thread.Sleep((int)ScriptWaits.SmallerWait);

            EmailTextField.Clear();
            EmailTextField.SendKeys(username);

            PasswordTextField.Clear();
            PasswordTextField.SendKeys(password);

            SignInButton.Click();

            waitMechanism.ExplicitWaitByXPath(webDriver, 20, NavBarXPath);
        }