/// <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)); }
public static void Initialize() { Browser.Initialize(); UserGenerator.Initialize(); Pages.Pages.Login.Goto(); Pages.Pages.Login.LogIn(LoginOptions.PredefinedCredentials); Assert.IsTrue(Pages.Pages.TopNavigation.IsLoggedIn); }
public static void Initialize() { Browser.Initialize(); UserGenerator.Initialize(); }
/// <summary> /// /// </summary> public void LogInAsNewUser() { UserGenerator.Initialize(); LogIn(UserGenerator.Generate(false)); }