public class FollowFrame extends AbstractBrowserAction
DEFAULT_DESCRIPTION, ELEMENT_ATTRIBUTE_ID, ELEMENT_ATTRIBUTE_NAME, PROPERTY_TYPE_ANT, PROPERTY_TYPE_ANT_STRICT, PROPERTY_TYPE_DEFAULT, PROPERTY_TYPE_DYNAMICdescription, location, project| Constructor and Description |
|---|
FollowFrame() |
| Modifier and Type | Method and Description |
|---|---|
void |
addText(java.lang.String text)
Called by Ant to set the text nested between opening and closing tags.
|
void |
doExecute()
Called to perform the step's functionality.
|
protected com.gargoylesoftware.htmlunit.Page |
findTarget(Context context) |
java.lang.String |
getHtmlId() |
java.lang.String |
getName() |
java.lang.String |
getRelative()
Indicates if the given frame name is relative to the current response (versus to the main window)
|
boolean |
isPerformingAction()
Indicates if this step performs an action on the browser
|
void |
setHtmlId(java.lang.String htmlId) |
void |
setName(java.lang.String newName) |
void |
setRelative(java.lang.String relative) |
protected void |
verifyParameters()
Called to let the step's implementation validate its parameters.
|
setSave, setSavePrefix, setSaveResponseaddComputedParameters, clone, emptyParamCheck, execute, getComputedParameters, getContext, getDefaultPropertyType, getDescription, getDuration, getParameterDictionary, getStepLabel, getVerifier, getWebtestProperties, getWebtestProperties, getWebtestProperty, getWebtestProperty, handleException, hasDescription, integerParamCheck, isCompleted, isStarted, isSuccessful, notifyCompleted, notifyStarted, notifyStepResultsListeners, notifySuccess, nullParamCheck, nullResponseCheck, optionalIntegerParamCheck, paramCheck, positiveOrZeroParamCheck, setStepid, setWebtestProperty, setWebtestProperty, toStringbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypegetDescription, getLocation, getProject, setDescription, setLocation, setProjectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTaskNamepublic void setHtmlId(java.lang.String htmlId)
htmlId - the new value.public java.lang.String getHtmlId()
public java.lang.String getName()
public void setName(java.lang.String newName)
newName - public java.lang.String getRelative()
public void setRelative(java.lang.String relative)
protected void verifyParameters()
StepStep.doExecute().
This implementation does nothing, overwrite as needed.verifyParameters in class Stepprotected com.gargoylesoftware.htmlunit.Page findTarget(Context context) throws javax.xml.xpath.XPathException, java.io.IOException, org.xml.sax.SAXException
javax.xml.xpath.XPathExceptionjava.io.IOExceptionorg.xml.sax.SAXExceptionpublic void doExecute()
throws java.lang.Exception
Steppublic void addText(java.lang.String text)
text - the text to setpublic boolean isPerformingAction()
StepisPerformingAction in class Step