Example #1
0
        public void RegisterAccount()
        {
            createAccount.SignIn();
            GenerateRandom generateRandom = new GenerateRandom();

            account            = new Account();
            account.Email      = GenerateRandom.RandomEmail();
            account.FirstName  = GenerateRandom.RandomName();
            account.LastName   = GenerateRandom.RandomLastName();
            account.Password   = GenerateRandom.RandomPassword();
            account.Address    = GenerateRandom.RandomString(6, false);
            account.PostalCode = "00000";
            account.Alias      = "Ninguna";
            account.Country    = "United States";
            account.State      = GenerateRandom.RandomState();
            account.City       = "Lima";
            account.Phone      = GenerateRandom.RandomPhone(9);
            createAccount.CreateAccount(account);
        }