Class BosWebSiteHelper

java.lang.Object
de.frankmuenster.mahoe.banks.bos.web.BosWebSiteHelper

public final class BosWebSiteHelper extends Object
Author:
Frank Münster
  • Method Details

    • findAndOpenAccount1

      public static void findAndOpenAccount1(org.openqa.selenium.WebDriver driver, String accountNumber)
      Open the account with the given account number.
      Parameters:
      driver - the driver with logged in BOS account
      accountNumber - the number of the account to open
    • getAccountInfo1

      public static BosWebAccountInformation getAccountInfo1(org.openqa.selenium.WebDriver driver, BosWebAccountInformation accountInfo, String accountNumber)
      Load additional account info, like IBAn, BIC and current saldo
      Parameters:
      driver - driver with logged in user
      accountInfo - the BosWebAccountInformation to add the data too
      accountNumber - the account number
      Returns:
      an BosWebAccountInformation object with the loaded information
    • getBookedTransactions1

      public static List<de.willuhn.jameica.hbci.rmi.Umsatz> getBookedTransactions1(org.openqa.selenium.WebDriver driver, BosWebAccountInformation accountInfo, String accountNumber) throws WebSiteException
      Parameters:
      driver -
      accountInfo -
      accountNumber -
      Returns:
      the list of transactions
      Throws:
      WebSiteException
    • login1

      public static void login1(org.openqa.selenium.WebDriver driver, String accountName, CharSequence password) throws WebSiteException
      Logins in the bank web page.
      Parameters:
      driver - to use to perform the login
      accountName - to use
      password - to use
      Throws:
      WebSiteException - is thrown when something went wrong.
    • logoff1

      public static void logoff1(org.openqa.selenium.WebDriver driver) throws WebSiteException
      Log off from bank page
      Parameters:
      driver - with logged in page
      Throws:
      WebSiteException