/**
   * Login as the specified account
   *
   * @param account
   * @throws HarnessException
   */
  public void login(ZimbraAccount account) throws HarnessException {
    logger.debug("login(ZimbraAccount account)" + account.EmailAddress);

    zNavigateTo();

    // Fill out the form
    fillLoginFormFields(account);

    // Click the Login button
    sClick(Locators.zLoginButtonContainer);

    // Wait for the app to load
    // sWaitForPageToLoad();
    ((AppAdminConsole) MyApplication).zPageMain.zWaitForActive();

    ((AppAdminConsole) MyApplication).zSetActiveAcount(account);

    SleepUtil.sleep(10000);
  }
  @Override
  public void zNavigateTo() throws HarnessException {

    if (zIsActive()) {
      // This page is already active.
      return;
    }

    // Logout
    if (((AppAdminConsole) MyApplication).zPageMain.zIsActive()) {
      ((AppAdminConsole) MyApplication).zPageMain.logout();
    }

    zWaitForActive();
  }