Class BosWebSiteHelper


  • public final class BosWebSiteHelper
    extends java.lang.Object
    Author:
    Frank Münster
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void findAndOpenAccount1​(org.openqa.selenium.WebDriver driver, java.lang.String accountNumber)
      Open the account with the given account number.
      static BosWebAccountInformation getAccountInfo1​(org.openqa.selenium.WebDriver driver, BosWebAccountInformation accountInfo, java.lang.String accountNumber)
      Load additional account info, like IBAn, BIC and current saldo
      static java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> getBookedTransactions1​(org.openqa.selenium.WebDriver driver, BosWebAccountInformation accountInfo, java.lang.String accountNumber)  
      static void login1​(org.openqa.selenium.WebDriver driver, java.lang.String accountName, java.lang.CharSequence password)
      Logins in the bank web page.
      static void logoff1​(org.openqa.selenium.WebDriver driver)
      Log off from bank page
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • findAndOpenAccount1

        public static void findAndOpenAccount1​(org.openqa.selenium.WebDriver driver,
                                               java.lang.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
      • getBookedTransactions1

        public static java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> getBookedTransactions1​(org.openqa.selenium.WebDriver driver,
                                                                                                BosWebAccountInformation accountInfo,
                                                                                                java.lang.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,
                                  java.lang.String accountName,
                                  java.lang.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