Пример #1
0
        // Create a Non-CAPTE user
        // Expects: Candidate Home Page to be loaded
        // Ends: Candidate Dashboard for the newly created user

        public static void CreateNonCAPTEUser(this RemoteWebDriver driver, string name)
        {
            AccountCreation createAccount = new AccountCreation(driver);

            //createAccount.goToAccountCreationPage();

            createAccount.SelectCountryOfEducation("USA");
            createAccount.selectSSN();
            createAccount.TypeInSSN("123456789");
            createAccount.SelectSchool("Unknown");
            createAccount.SelectDegreeLevel("Associates");
            createAccount.TypeInGraduationDate("1/1/2018");

            string[] names = name.Split();

            createAccount.TypeInLastName(names[1]);
            createAccount.TypeInFirstName(names[0]);
        }