Interface PostBoxPage
-
- All Known Implementing Classes:
AbstractPostBoxPage
,BosPostBoxPage
,SantanderPostBoxPage
,TargoBankPostBoxPage
public interface PostBoxPage
Interface for a PostBax page- Since:
- 2.6.0
- Author:
- Frank Münster
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasNextAccountSheet()
Returnstrue
if the PostBox has more accounts sheets/card billings.boolean
hasNextDocument()
Returnstrue
if the PostBox has more accounts sheets/card billings.org.apache.commons.lang3.tuple.Pair<java.util.Date,org.openqa.selenium.WebElement>
nextAccountSheet()
Returns the next accounts sheet/card billing from the PostBoxorg.apache.commons.lang3.tuple.Pair<java.util.Date,org.openqa.selenium.WebElement>
nextDocument()
Returns the next document from the PostBox
-
-
-
Method Detail
-
hasNextDocument
boolean hasNextDocument()
Returnstrue
if the PostBox has more accounts sheets/card billings. (In other words, returnstrue
ifnextDocument()
would return an element rather than throwing an exception.)- Returns:
true
if the PostBox has more elements
-
hasNextAccountSheet
boolean hasNextAccountSheet()
Returnstrue
if the PostBox has more accounts sheets/card billings. (In other words, returnstrue
ifnextDocument()
would return an element rather than throwing an exception.)- Returns:
true
if the PostBox has more elements
-
nextDocument
org.apache.commons.lang3.tuple.Pair<java.util.Date,org.openqa.selenium.WebElement> nextDocument() throws java.util.NoSuchElementException
Returns the next document from the PostBox- Returns:
- the next document as Pair< Date,WebElement >
- Throws:
java.util.NoSuchElementException
- - if the PostBox has no more elements
-
nextAccountSheet
org.apache.commons.lang3.tuple.Pair<java.util.Date,org.openqa.selenium.WebElement> nextAccountSheet() throws java.util.NoSuchElementException
Returns the next accounts sheet/card billing from the PostBox- Returns:
- the next accounts sheets/card billings as Pair< Date,WebElement >
- Throws:
java.util.NoSuchElementException
- - if the PostBox has no more elements
-
-