public void iOSMLogin() { EnterUsername.SendKeys(ConfigurationManager.AppSettings["MobileUsername"]); EnterPassword.SendKeys(ConfigurationManager.AppSettings["MobilePassword"]); ClickLogin.Click(); System.Threading.Thread.Sleep(20000); }
public void ExistingUser() { SignInButton.Click(); Thread.Sleep(1000); EnterEmail.SendKeys("*****@*****.**"); EnterPassword.SendKeys("123qwe"); Login.Submit(); }
public SignInPage StepEnterPassword(string password) { Thread.Sleep(3000); EnterPassword.Click(); EnterPassword.Clear(); EnterPassword.SendKeys(password); ButtonSignIn.Click(); Thread.Sleep(5000); return(this); }
public bool AskManagerPassword() { var ep = new EnterPassword("MANAGER"); ep.ShowDialog(); if (ep.Passed) { LastLoginedManager = ep.LogginedPerson; return true; } return false; }
void Update() { GameObject ColoursConsole = GameObject.Find("ColoursConsole"); EnterPassword enterPassword = ColoursConsole.GetComponent <EnterPassword>(); if (enterPassword.doorOpened == true && animPlayed == false) { animPlayed = true; anim.Play("door_2_open"); } else if (animPlayed == true) { anim.Play("door_2_opened"); } }
public void Login_Checkout() { EnterEmail.SendKeys("*****@*****.**"); EnterPassword.SendKeys("123qwe"); Login.Submit(); }
public void Login(string Login, string Password) { EnterLogin.SendKeys(Login); EnterPassword.SendKeys(Password); EnterInput.Click(); }
public void Login(String username, String password) { EnterEmail.SendKeys(username); EnterPassword.SendKeys(password); LoginBtn.Click(); }
private void RegisterBtn_Click_1(object sender, RoutedEventArgs e) { Rooms.LoginRegister.Register register = new LoginRegister.Register(); string username = EnterUsername.Text; string password = EnterPassword.Password.ToString(); string confirmpassword = ConfirmPassword.Password.ToString(); string firstname = EnterName.Text; string lastname = EnterSurname.Text; bool checkInstructor; if (InstructorRadioBtn.IsChecked == true) { checkInstructor = true; } else { checkInstructor = false; } string email = EnterEmail.Text; utilizator.username = username; utilizator.password = password; utilizator.firstname = firstname; utilizator.lastname = lastname; utilizator.email = email; utilizator.Role = InstructorRadioBtn.IsEnabled ? Rol_Utilizator.Membru : Rol_Utilizator.Administrator; try { utilizator newUser = register.Valideaza_Inregistrare(username, password, firstname, lastname, confirmpassword, checkInstructor, email); MessageBox.Show("Welcome to Rooms 404. Enjoy!"); AdminFormularService adminFormularService = new AdminFormularService(); student = adminFormularService.GetStudent(utilizator.id); if (newUser.Role.ToString().Equals("Membru")) { StudentModule mainWindow = new StudentModule(utilizator, student); mainWindow.Show(); this.Close(); } else if (newUser.Role.ToString().Equals("Administrator")) { AdminModule adminModule = new AdminModule(utilizator); adminModule.Show(); this.Close(); } } catch (Exception ex) { EnterUsername.Clear(); EnterPassword.Clear(); EnterName.Clear(); EnterSurname.Clear(); EnterEmail.Clear(); MessageBox.Show(ex.Message); } }
public void EnterPass(String pass) { EnterPassword.SendKeys(pass); }