Beispiel #1
0
        public void GivenIEnterTheRandomlyGeneratedSurname(String testType)
        {
            String lastName;

            if (testType.Equals("valid"))
            {
                lastName = "A" + SignUpPage.GenerateRandomString(8, rand).ToLower();
            }
            else
            {
                lastName = null;
                //TODO: negative scenarios
            }
            signUpPage.LastName().SendKeys(lastName);
        }