Class TargoBankLoginPage

java.lang.Object
de.frankmuenster.mahoe.web.webpages.SeleniumWebPage
de.frankmuenster.mahoe.banks.targobank.web.webpages.TargoBankLoginPage
All Implemented Interfaces:
LoginPage

public class TargoBankLoginPage extends SeleniumWebPage implements LoginPage
The login page implementation of the TargoBank Bank
Since:
2.4.0
Author:
Frank Münster
  • Constructor Details

    • TargoBankLoginPage

      public TargoBankLoginPage(org.openqa.selenium.WebDriver driver)
      Creates a new LoginPage for the TargoBank Bank
      Parameters:
      driver - the WebDriver to use for that page
  • Method Details

    • isLoggedIn

      public boolean isLoggedIn()
      Description copied from interface: LoginPage
      Check if a user is logged in. There is no check if a specific account is logged in.
      Specified by:
      isLoggedIn in interface LoginPage
      Returns:
      true if an user is logged in, false else.
    • login

      public void login(String login, char[] password) throws WebSiteException
      Description copied from interface: LoginPage
      Logging the given user.
      Specified by:
      login in interface LoginPage
      Parameters:
      login - the account to login
      password - the password
      Throws:
      WebSiteException - if the login fails