Class AbstractAccountPage<I>

java.lang.Object
de.frankmuenster.mahoe.web.webpages.SeleniumWebPage
de.frankmuenster.mahoe.web.webpages.AbstractAccountPage<I>
Type Parameters:
I -
Direct Known Subclasses:
BosAccountPage, TargoBankAccountPage

public abstract class AbstractAccountPage<I> extends SeleniumWebPage
A Selenium account page
Author:
Frank Muenster
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final I
    The account information to open from and update with this Selenium page

    Fields inherited from class de.frankmuenster.mahoe.web.webpages.SeleniumWebPage

    driver
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractAccountPage(org.openqa.selenium.WebDriver driver, I accountInfo)
    Creates a new Selenium account web page for the given account
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract void
    Open the account page for the given account

    Methods inherited from class de.frankmuenster.mahoe.web.webpages.SeleniumWebPage

    elementExist

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • accountInfo

      protected final I accountInfo
      The account information to open from and update with this Selenium page
  • Constructor Details

    • AbstractAccountPage

      protected AbstractAccountPage(org.openqa.selenium.WebDriver driver, I accountInfo)
      Creates a new Selenium account web page for the given account
      Parameters:
      driver - the Selenium driver
      accountInfo - the account for this page
  • Method Details

    • open

      protected abstract void open() throws WebSiteException
      Open the account page for the given account
      Throws:
      WebSiteException - in case the page cannot be opened