| com.canoo.webtest.steps.Step com.canoo.webtest.extension.groovy.GroovyStep
GroovyStep | public class GroovyStep extends Step (Code) | | Wrapper class for groovy scripting.
author: Dierk Koenig |
addText | public void addText(String text)(Code) | | The script text.
Parameters: text - Sets the value for the script variable. |
doExecute | public void doExecute()(Code) | | |
isReplaceProperties | public boolean isReplaceProperties()(Code) | | |
setFile | public void setFile(File fileName)(Code) | | Defines the file containing scripting code (optional).
Parameters: fileName - Sets the name of the file containing script code. |
setReplaceProperties | public void setReplaceProperties(boolean replaceProperties)(Code) | | Indicates if properties should be replaced in the script (default false)
|
verifyParameters | protected void verifyParameters()(Code) | | |
Methods inherited from com.canoo.webtest.steps.Step | protected void addComputedParameters(Map map)(Code)(Java Doc) public Object clone() throws CloneNotSupportedException(Code)(Java Doc) abstract public void doExecute() throws Exception(Code)(Java Doc) protected void emptyParamCheck(String param, String paramName)(Code)(Java Doc) public void execute()(Code)(Java Doc) protected Map getComputedParameters()(Code)(Java Doc) public Context getContext()(Code)(Java Doc) protected String getDefaultPropertyType()(Code)(Java Doc) public String getDescription(String prefix, String suffix)(Code)(Java Doc) public long getDuration()(Code)(Java Doc) public Map getParameterDictionary()(Code)(Java Doc) protected String getStepLabel()(Code)(Java Doc) protected static IStringVerifier getVerifier(boolean useRegex)(Code)(Java Doc) public Map getWebtestProperties()(Code)(Java Doc) public Map getWebtestProperties(String propertyType)(Code)(Java Doc) public String getWebtestProperty(String name)(Code)(Java Doc) public String getWebtestProperty(String name, String propertyType)(Code)(Java Doc) protected void handleException(Throwable t)(Code)(Java Doc) public boolean hasDescription()(Code)(Java Doc) protected void integerParamCheck(String param, String paramName, boolean nonNegative)(Code)(Java Doc) public boolean isCompleted()(Code)(Java Doc) public boolean isStarted()(Code)(Java Doc) public boolean isSuccessful()(Code)(Java Doc) public void notifyCompleted()(Code)(Java Doc) public void notifyStarted()(Code)(Java Doc) protected void notifyStepResultsListeners()(Code)(Java Doc) public void notifySuccess()(Code)(Java Doc) protected void nullParamCheck(Object param, String paramName)(Code)(Java Doc) protected void nullResponseCheck()(Code)(Java Doc) protected void optionalIntegerParamCheck(String param, String paramName, boolean nonNegative)(Code)(Java Doc) protected void paramCheck(boolean condition, String message)(Code)(Java Doc) protected void positiveOrZeroParamCheck(int value, String paramName)(Code)(Java Doc) public void setStepid(String description)(Code)(Java Doc) public void setWebtestProperty(String name, String value)(Code)(Java Doc) public void setWebtestProperty(String name, String value, String propertyType)(Code)(Java Doc) public String toString()(Code)(Java Doc) protected void verifyParameters()(Code)(Java Doc)
|
|
|