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 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(); }