Example #1
0
        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");
     }
 }
Example #3
0
        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();
        }
Example #4
0
 private static void SignUp()
 {
     EnterCredentials();
     SignUpBtn.Click();
 }