org.specrunner.webdriver.assertions.alert
Class PluginAlertCompare
java.lang.Object
org.specrunner.parameters.core.ParameterHolder
org.specrunner.plugins.core.AbstractPlugin
org.specrunner.plugins.core.AbstractPluginNamed
org.specrunner.plugins.core.AbstractPluginScoped
org.specrunner.plugins.core.AbstractPluginValue
org.specrunner.webdriver.AbstractPluginBrowserAware
org.specrunner.webdriver.AbstractPluginSwitchTo
org.specrunner.webdriver.AbstractPluginAlert
org.specrunner.webdriver.assertions.alert.PluginAlertCompare
- All Implemented Interfaces:
- IParameterHolder, IActionType, IParalelPlugin, IPlugin, ISleepPlugin, ITestPlugin, ITimedPlugin, IWaitPlugin
public class PluginAlertCompare
- extends AbstractPluginAlert
Compare the text in alert.
- Author:
- Thiago Santos.
|
Method Summary |
protected void |
doEnd(IContext context,
IResultSet result,
org.openqa.selenium.WebDriver client,
org.openqa.selenium.WebDriver.TargetLocator target,
org.openqa.selenium.Alert alert)
Perform an alert action. |
ActionType |
getActionType()
|
| Methods inherited from class org.specrunner.webdriver.AbstractPluginBrowserAware |
doEnd, getBrowserName, getDir, getDownload, getInterval, getMaxwait, getWaitCondition, getWaitfor, initialize, isWaitForClient, setDir, setDownload, setInterval, setMaxwait, setWaitfor, waitForClient |
| Methods inherited from class org.specrunner.plugins.core.AbstractPlugin |
copy, doStart, getCondition, getConditionModel, getNormalized, getNormalized, getParent, getSleep, getSleepModel, getThreadsafe, getTimeout, getTimeoutModel, getWait, getWaitModel, setCondition, setConditionModel, setNormalized, setParent, setSleep, setSleepModel, setThreadsafe, setTimeout, setTimeoutModel, setWait, setWaitModel, toString |
PluginAlertCompare
public PluginAlertCompare()
getActionType
public ActionType getActionType()
doEnd
protected void doEnd(IContext context,
IResultSet result,
org.openqa.selenium.WebDriver client,
org.openqa.selenium.WebDriver.TargetLocator target,
org.openqa.selenium.Alert alert)
throws PluginException
- Description copied from class:
AbstractPluginAlert
- Perform an alert action.
- Specified by:
doEnd in class AbstractPluginAlert
- Parameters:
context - The context.result - The result.client - The client.target - The target.alert - The alert.
- Throws:
PluginException - On processing errors.
Copyright © 2013. All rights reserved.