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_DYNAMIC
description, 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, setSaveResponse
addComputedParameters, 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, toString
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
getDescription, getLocation, getProject, setDescription, setLocation, setProject
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTaskName
public 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()
Step
Step.doExecute()
.
This implementation does nothing, overwrite as needed.verifyParameters
in class Step
protected com.gargoylesoftware.htmlunit.Page findTarget(Context context) throws javax.xml.xpath.XPathException, java.io.IOException, org.xml.sax.SAXException
javax.xml.xpath.XPathException
java.io.IOException
org.xml.sax.SAXException
public void doExecute() throws java.lang.Exception
Step
public void addText(java.lang.String text)
text
- the text to setpublic boolean isPerformingAction()
Step
isPerformingAction
in class Step