Exemple #1
0
 public string RegisterUniqueUser(User user)
 {
     var dateTime = DateTime.Now;
     string uniqueAddition = dateTime.ToString("hhmmddMMyyyy");
     this.RegisterUser(user.Username + uniqueAddition, user.Password, user.PasswordRepeat, user.FirstNameInBulgarian, user.LastNameInBulgarian, uniqueAddition + user.Email);
     return user.Username + uniqueAddition;
 }
Exemple #2
0
 public void EnterUserCredentials(User user)
 {
     this.EnterUserCredentials(
         user.Username,
         user.Password,
         user.PasswordRepeat,
         user.FirstNameInBulgarian,
         user.LastNameInBulgarian,
         user.Email);
 }
Exemple #3
0
 public void Login(User user)
 {
     this.Login(user.Username, user.Password);
 }
Exemple #4
0
 public void RegisterUser(User user)
 {
     this.RegisterUser(user.Username, user.Password, user.PasswordRepeat, user.FirstNameInBulgarian, user.LastNameInBulgarian, user.Email);
 }
Exemple #5
0
 private static void LoginUser(User user)
 {
     Manager.Current.ActiveBrowser.ClearCache(BrowserCacheType.Cookies);
     LoginPage.Login(user.Username, user.Password);
 }