コード例 #1
0
        public void GivenIEnterTheRandomlyGeneratedEmail(String testType)
        {
            String email;

            if (testType.Equals("valid"))
            {
                email = SignUpPage.GenerateRandomString(8, rand) + "@gmail.com";
            }
            else
            {
                email = null;
                //TODO: negative scenarios
            }
            signUpPage.EmailPhone().SendKeys(email);
            signUpPage.ConfirmEmailPhone().SendKeys(email);
        }