public class MessageDialog extends AbstractPrimefacesPageComponent
Page object component that represents a message dialog
Copyright 2017 (C) by Martin Ganserer
AJAX_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 |
|---|
MessageDialog(AbstractPageObject pageObject)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeDialog()
Close the dialog
|
void |
validateStatus(PageActionResult actionResult)
Search for a visible message dialog and compare its status with the expected action result
|
createPageObject, waitForPendingAjaxRequestsassertEquals, assertNotNull, assertTrue, delayPageLoad, doubleClickElement, fail, fail, findWebElement, findWebElement, findWebElementByXPath, findWebElementsByXPath, getDriver, getLogger, getTestContext, moveToElement, scrollTo, setInputFieldValue, setLogger, validateInputFieldValue, waitUntilVisiblepublic MessageDialog(AbstractPageObject pageObject)
pageObject - public void validateStatus(PageActionResult actionResult)
actionResult - AssertionError - if the status validation either has failed, or an element could not be foundpublic void closeDialog()
AssertionError - if an element could not be foundCopyright © 2019. All rights reserved.