Class SearchPageContext
java.lang.Object
com.onenetwork.platform.tools.test.ui.components.Component
com.onenetwork.platform.tools.test.ui.components.Container
com.onenetwork.platform.tools.test.ui.components.SearchPageContext
- Direct Known Subclasses:
PagingToolbar
public class SearchPageContext extends Container
Represents an instance of
One.PagingToolbar.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SearchPageContext(UIContext context, org.openqa.selenium.WebElement el)
-
Method Summary
Modifier and Type Method Description int
getNumberOfRecords()
Get the number of recordsvoid
goToFirstPage()
go to the first page of the recordsvoid
goToLastPage()
go to last page of recordsvoid
goToNextPage()
go to the next page of the recordsvoid
goToPageNumber(int number)
go to the specified pagevoid
goToPreviousPage()
go to the previous page of the recordsMethods inherited from class com.onenetwork.platform.tools.test.ui.components.Container
clickAction, clickAction, clickMenuItem, clickOneLogo, createFieldFromLabel, findXTypeFromInput, getActions, getActions, getButton, getCC1InnerTab, getComponent, getDashboard, getFieldByLabel, getFieldByLabelCC15, getFieldByLabelFlux, getFieldByLabelNew, getFieldByMultiLineLabel, getFieldByName, getFieldError, getFilterOverlayPanel, getFormPanel, getGrid, getGridByClass, getGrids, getLink, getMenu, getMessagePanel, getMessagePanelFlux, getNotificationCollaboration, getProbelmDetail, getProblemList, getReadOnlyFieldByLabelCC15, getReport, getReports, getSearchContext, getSearchPageContext, getTabPanel, getTabPanelByClass, getTemplateDisplay, getTreePanel, getWindow, getWindows, getXTypeFromFormItem, getXTypeFromId, getXTypeFromLabel, isRequired, switchDriver, waitForSuccessMessage
Methods inherited from class com.onenetwork.platform.tools.test.ui.components.Component
getEl, getId, isDisplayed, isRequired
-
Constructor Details
-
Method Details
-
goToNextPage
public void goToNextPage()go to the next page of the records -
goToPreviousPage
public void goToPreviousPage()go to the previous page of the records -
getNumberOfRecords
public int getNumberOfRecords()Get the number of records- Returns:
-
goToPageNumber
public void goToPageNumber(int number)go to the specified page- Parameters:
number
-
-
goToFirstPage
public void goToFirstPage()go to the first page of the records -
goToLastPage
public void goToLastPage()go to last page of records
-