public final class BosWebSiteHelper
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static void |
findAndOpenAccount(org.openqa.selenium.WebDriver driver,
java.lang.String accountNumber) |
Open the account with the given account number.
|
static BosWebAccountInformation |
getAccountInfo(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> |
getBookedTransactions(org.openqa.selenium.WebDriver driver,
BosWebAccountInformation accountInfo,
java.lang.String accountNumber) |
|
static void |
login(org.openqa.selenium.WebDriver driver,
java.lang.String accountName,
java.lang.CharSequence password) |
Logins in the bank web page.
|
static void |
logoff(org.openqa.selenium.WebDriver driver) |
Log off from bank page
|
public static void findAndOpenAccount(org.openqa.selenium.WebDriver driver, java.lang.String accountNumber)
driver
- the driver with logged in BOS accountaccountNumber
- the number of the account to openpublic static BosWebAccountInformation getAccountInfo(org.openqa.selenium.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 java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> getBookedTransactions(org.openqa.selenium.WebDriver driver, BosWebAccountInformation accountInfo, java.lang.String accountNumber) throws WebSiteException
driver
- accountInfo
- accountNumber
- WebSiteException
public static void login(org.openqa.selenium.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(org.openqa.selenium.WebDriver driver) throws WebSiteException
driver
- with logged in pageWebSiteException