public void SignUpSC(string emailAdr, string pwd) { firstNameTxt.SendKeys("Tester1"); //.... and more SignUpBtn.Click(); }
public void ClickOnSignUpBtnInitial() { if (SignUpBtn.Displayed) { SignUpBtn.Click(); } else { throw new Exception("Sign Up button is not found"); } }
public AuthWindow() { InitializeComponent(); db = new ApplicationContext(); DoubleAnimation btnAnimation = new DoubleAnimation(); DoubleAnimation btnAnimation1 = new DoubleAnimation(); btnAnimation.From = 0; btnAnimation.To = 268; btnAnimation.Duration = TimeSpan.FromSeconds(3); SignInBtn.BeginAnimation(Button.WidthProperty, btnAnimation); btnAnimation1.From = 0; btnAnimation1.To = 80; btnAnimation1.Duration = TimeSpan.FromSeconds(3); SignUpBtn.BeginAnimation(Button.WidthProperty, btnAnimation1); }
public void InvalidEmail() { EnterCredentials(); const string invalidEmail = "Invalid"; Window.Get <TextBox>("Email").Enter(invalidEmail); SignUpBtn.Click(); var errorBox = Window.MessageBox(""); errorBox.Should().NotBe(null); errorBox.Get <Label>().Text .Should().Be(string.Format(Resources.InvalidEmailError, invalidEmail)); CloseMessageBox(); }
private static void SignUp() { EnterCredentials(); SignUpBtn.Click(); }
/* ---------- */ // User click Register in login form public void OnClickRegister(object sender, EventArgs e) { SignUpBtn.PerformClick(); }