Exemplo n.º 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));
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 public static void Initialize()
 {
     Browser.Initialize();
     UserGenerator.Initialize();
 }
Exemplo n.º 4
0
 /// <summary>
 ///
 /// </summary>
 public void LogInAsNewUser()
 {
     UserGenerator.Initialize();
     LogIn(UserGenerator.Generate(false));
 }