public abstract class AbstractSearchPageObject extends AbstractViewPageObject
Abstract page object for views that provide a search dialog
Copyright 2017 (C) by Martin Ganserer
dataTableBUTTON_ID_LOG_IN, FORM_ID_PREFIXAJAX_POLLING_INTERVAL_MILLISECONDS, ATTR_NAME_CLASS, ATTR_NAME_SELECTED, ATTR_NAME_STYLE, ATTR_NAME_VALUE, driver, HTML_LIST_ITEM, ITEM_DELIMITER, logger, NEW_LINE, ROW_OFFSET_X, ROW_OFFSET_Y, testContext| Constructor and Description |
|---|
AbstractSearchPageObject(SeleniumTestContext testContext)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
enterSearchInputData(List<PageElementTestData> searchInput)
Enter data into the search dialog
|
protected void |
openSearchDialog()
Open the search dialog
|
void |
performCountOperation(List<PageElementTestData> searchInput)
Open the search dialog, enter respective data and perform the count operation
|
void |
performSearchOperation(List<PageElementTestData> searchInput)
Open the search dialog, enter respective data and perform the search operation
|
void |
resetSearchSettings()
Open the search dialog and reset the search settings
|
clickContextMenuAdd, clickContextMenuCopy, clickContextMenuCopy, clickContextMenuCreate, clickContextMenuDelete, clickContextMenuDownload, clickContextMenuExport, clickContextMenuExport, clickContextMenuImport, clickContextMenuImport, clickContextMenuItem, clickContextMenuItem, clickContextMenuUpdate, clickContextMenuView, doubleClickRow, doubleClickRow, getFirstRow, getPaginatorNext, getPanelIdPrefix, getRowByCellValue, getRowByCellValue, getRowByObjectId, getRowByObjectId, getRowByRowIndex, getRowCount, openContextMenu, pressRefreshButton, selectRow, validateMaxRowCount, validateMinRowCount, validateRowCountbuildPageURL, getCheckBoxSelection, open, open, openPageByNavigator, openTabPage, pressBackButton, pressButton, pressLogoutButton, pressSaveButton, pressSaveButton, selectAutoCompleteItem, selectComboboxItem, selectItem, selectLoVItem, setCheckBoxValue, uploadFile, validateAutoCompleteItem, validateCheckBoxValue, validateComboboxItem, validateLabelText, validateLoVItem, validatePageTitle, waitForMessageDialog, waitForNotificationMessagecreatePageObject, waitForPendingAjaxRequestsassertEquals, assertNotNull, assertTrue, delayPageLoad, doubleClickElement, fail, fail, findWebElement, findWebElement, findWebElementByXPath, findWebElementsByXPath, getDriver, getLogger, getTestContext, moveToElement, scrollTo, setInputFieldValue, setLogger, validateInputFieldValue, waitUntilVisiblepublic AbstractSearchPageObject(SeleniumTestContext testContext)
testContext - public void performSearchOperation(List<PageElementTestData> searchInput)
searchInput - AssertionError - if an element either could not be found, or test data is invalidpublic void performCountOperation(List<PageElementTestData> searchInput)
searchInput - AssertionError - if an element either could not be found, or test data is invalidpublic void resetSearchSettings()
AssertionError - if an element could not be foundprotected void enterSearchInputData(List<PageElementTestData> searchInput)
searchInput - AssertionError - if an element either could not be found, or test data is invalidprotected void openSearchDialog()
AssertionError - if an element could not be foundCopyright © 2019. All rights reserved.