Пример #1
0
        public void GivenIEnterTheRandomlyGeneratedPassword(String testType)
        {
            String password;

            if (testType.Equals("valid"))
            {
                password = SignUpPage.GenerateRandomString(8, rand) + "123";
            }
            else
            {
                password = null;
                //TODO: negative scenarios
            }
            signUpPage.Password().SendKeys(password);
        }