org.alfresco.webdrone.share
Class Pagination
java.lang.Object
org.alfresco.webdrone.share.Pagination
public class Pagination
- extends Object
Pagination object, holds common methods applied to pagination
in Alfresco share.
- Author:
- Michael Suzuki
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pagination
public Pagination()
hasPaginationButton
public static boolean hasPaginationButton(WebDrone drone,
String css)
- Checks for next or previous pagination button.
and verify is are clickable.
- Parameters:
drone - WebDronecss - the css to find the button
- Returns:
- true if clickable.
selectPagiantionButton
public static HtmlPage selectPagiantionButton(WebDrone drone,
String css)
- Selects the next or previous button on the pagination
bar based on the action required.
- Parameters:
drone - WebDronecss - that identifies which button to select
- Returns:
- Search result page
Copyright © 2013. All Rights Reserved.