Class BosWebSiteHelper
- java.lang.Object
-
- de.frankmuenster.mahoe.banks.bos.web.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 saldostatic 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
-
-
-
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 accountaccountNumber
- the number of the account to open
-
getAccountInfo1
public static BosWebAccountInformation getAccountInfo1(org.openqa.selenium.WebDriver driver, BosWebAccountInformation accountInfo, java.lang.String accountNumber)
Load additional account info, like IBAn, BIC and current saldo- Parameters:
driver
- driver with logged in useraccountInfo
- theBosWebAccountInformation
to add the data tooaccountNumber
- the account number- Returns:
- an
BosWebAccountInformation
object with the loaded information
-
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 loginaccountName
- to usepassword
- 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
-
-