public final class BosWebSiteHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
findAndOpenAccount(WebDriver driver,
java.lang.String accountNumber)
Open the account with the given account number.
|
static BosWebAccountInformation |
getAccountInfo(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> |
getBookedTransactions(WebDriver driver,
BosWebAccountInformation accountInfo,
java.lang.String accountNumber) |
static void |
login(WebDriver driver,
java.lang.String accountName,
java.lang.CharSequence password)
Logins in the bank web page.
|
static void |
logoff(WebDriver driver)
Log off from bank page
|
public static BosWebAccountInformation getAccountInfo(WebDriver driver, BosWebAccountInformation accountInfo, java.lang.String accountNumber)
driver
- driver with logged in useraccountInfo
- the BosWebAccountInformation
to add the data tooaccountNumber
- the account numberBosWebAccountInformation
object with the loaded informationpublic static void login(WebDriver driver, java.lang.String accountName, java.lang.CharSequence password) throws WebSiteException
driver
- to use to perform the loginaccountName
- to usepassword
- to useWebSiteException
- is thrown when something went wrong.public static void logoff(WebDriver driver) throws WebSiteException
driver
- with logged in pageWebSiteException
public static java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> getBookedTransactions(WebDriver driver, BosWebAccountInformation accountInfo, java.lang.String accountNumber) throws WebSiteException
driver
- accountInfo
- accountNumber
- WebSiteException
public static void findAndOpenAccount(WebDriver driver, java.lang.String accountNumber)
driver
- the driver with logged in BOS accountaccountNumber
- the number of the account to open