public abstract class AbstractWizardPage extends AbstractPage
Modifier and Type | Field and Description |
---|---|
protected static String |
BUTTON_LOCATOR |
driver, userServicesForm
Constructor and Description |
---|
AbstractWizardPage(org.openqa.selenium.WebDriver driver) |
Modifier and Type | Method and Description |
---|---|
boolean |
clearInput(String name) |
boolean |
fillInput(String name,
String value) |
protected org.openqa.selenium.WebElement |
findNavButton(String label) |
protected abstract String |
getNextButtonLocator() |
protected abstract String |
getPreviousButtonLocator() |
String |
getTitle() |
<T extends AbstractPage> |
nav(Class<T> wizardPageClass,
String buttonLabel) |
<T extends AbstractPage> |
nav(Class<T> wizardPageClass,
String buttonLabel,
Boolean waitForURLChange) |
<T extends AbstractPage> |
navById(Class<T> wizardPageClass,
String buttonId) |
<T extends AbstractPage> |
navById(Class<T> wizardPageClass,
String buttonId,
Boolean waitForURLChange) |
<T extends AbstractPage> |
navByLink(Class<T> wizardPageClass,
String linkLabel) |
<T extends AbstractPage> |
navByLink(Class<T> wizardPageClass,
String linkLabel,
Boolean waitForURLChange) |
<T extends AbstractWizardPage> |
next(Class<T> wizardPageClass) |
<T extends AbstractWizardPage> |
next(Class<T> wizardPageClass,
com.google.common.base.Function<org.openqa.selenium.WebDriver,Boolean> function) |
<T extends AbstractWizardPage> |
previous(Class<T> wizardPageClass) |
<T extends AbstractWizardPage> |
previous(Class<T> wizardPageClass,
com.google.common.base.Function<org.openqa.selenium.WebDriver,Boolean> function) |
boolean |
selectOption(String name,
String value) |
boolean |
selectOptionWithReload(String name,
String value) |
asPage, clickOnTabIfNotSelected, clickOnTabIfNotSelected, clickOnTabIfNotSelected, closeFancyBox, findElementAndWaitUntilEnabled, findElementAndWaitUntilEnabled, findElementsWithTimeout, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, get, getErrorFeedbackMessage, getFancyBoxContent, getFeedbackMessage, getHeaderLinks, getInfoFeedbackMessage, getWebFragment, getWebFragment, hasElement, selectItemInDropDownMenu, switchToFrame, useAjaxTabs, waitForFancyBoxClosed, waitUntilEnabled, waitUntilEnabled, waitUntilEnabledAndClick, waitUntilEnabledAndClick, waitUntilURLDifferentFrom
protected static final String BUTTON_LOCATOR
public AbstractWizardPage(org.openqa.selenium.WebDriver driver)
protected abstract String getNextButtonLocator()
protected abstract String getPreviousButtonLocator()
public <T extends AbstractWizardPage> T next(Class<T> wizardPageClass)
public <T extends AbstractWizardPage> T next(Class<T> wizardPageClass, com.google.common.base.Function<org.openqa.selenium.WebDriver,Boolean> function)
public <T extends AbstractWizardPage> T previous(Class<T> wizardPageClass)
public <T extends AbstractWizardPage> T previous(Class<T> wizardPageClass, com.google.common.base.Function<org.openqa.selenium.WebDriver,Boolean> function)
public <T extends AbstractPage> T nav(Class<T> wizardPageClass, String buttonLabel)
public <T extends AbstractPage> T nav(Class<T> wizardPageClass, String buttonLabel, Boolean waitForURLChange)
public <T extends AbstractPage> T navByLink(Class<T> wizardPageClass, String linkLabel)
public <T extends AbstractPage> T navByLink(Class<T> wizardPageClass, String linkLabel, Boolean waitForURLChange)
public <T extends AbstractPage> T navById(Class<T> wizardPageClass, String buttonId)
public <T extends AbstractPage> T navById(Class<T> wizardPageClass, String buttonId, Boolean waitForURLChange)
protected org.openqa.selenium.WebElement findNavButton(String label)
public boolean selectOption(String name, String value)
public boolean selectOptionWithReload(String name, String value)
public boolean clearInput(String name)
Copyright © 2017 Nuxeo. All rights reserved.