Example #1
0
        /// <summary>
        /// Log in using valid account
        /// </summary>
        public void LogInAsRegisteredUser()
        {
            // Clear last user logged in
            UserGenerator.Initialize();

            //Log in using the user credential, set in Constants.cs file
            LogIn(UserGenerator.Generate(true));
        }
Example #2
0
        public static void Initialize()
        {
            Browser.Initialize();
            UserGenerator.Initialize();

            Pages.Pages.Login.Goto();
            Pages.Pages.Login.LogIn(LoginOptions.PredefinedCredentials);
            Assert.IsTrue(Pages.Pages.TopNavigation.IsLoggedIn);
        }
Example #3
0
 public static void Initialize()
 {
     Browser.Initialize();
     UserGenerator.Initialize();
 }
Example #4
0
 /// <summary>
 ///
 /// </summary>
 public void LogInAsNewUser()
 {
     UserGenerator.Initialize();
     LogIn(UserGenerator.Generate(false));
 }