Class BosWebSiteHelper
java.lang.Object
de.frankmuenster.mahoe.banks.bos.web.BosWebSiteHelper
- Author:
- Frank Münster
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidfindAndOpenAccount1(org.openqa.selenium.WebDriver driver, String accountNumber) Open the account with the given account number.static BosWebAccountInformationgetAccountInfo1(org.openqa.selenium.WebDriver driver, BosWebAccountInformation accountInfo, String accountNumber) Load additional account info, like IBAn, BIC and current saldostatic List<de.willuhn.jameica.hbci.rmi.Umsatz>getBookedTransactions1(org.openqa.selenium.WebDriver driver, BosWebAccountInformation accountInfo, String accountNumber) static voidlogin1(org.openqa.selenium.WebDriver driver, String accountName, CharSequence password) Logins in the bank web page.static voidlogoff1(org.openqa.selenium.WebDriver driver) Log off from bank page
-
Method Details
-
findAndOpenAccount1
Open the account with the given account number.- Parameters:
driver- the driver with logged in BOS accountaccountNumber- 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 useraccountInfo- theBosWebAccountInformationto add the data tooaccountNumber- the account number- Returns:
- an
BosWebAccountInformationobject 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 loginaccountName- to usepassword- to use- Throws:
WebSiteException- is thrown when something went wrong.
-
logoff1
Log off from bank page- Parameters:
driver- with logged in page- Throws:
WebSiteException
-