| com.canoo.webtest.steps.Step com.canoo.webtest.extension.ScriptStep
ScriptStep | public class ScriptStep extends Step (Code) | | Wrapper class for the ant script command.
author: Paul King |
addComputedParameters | protected void addComputedParameters(Map map)(Code) | | override to add actual attribute values to the reporting
|
addText | public void addText(String text)(Code) | | The script text if inlined.
Parameters: text - The nested scripting code. |
doExecute | public void doExecute() throws Exception(Code) | | Perform the step's actual work.
throws: Exception - if a problem occurred |
isKeep | public boolean isKeep()(Code) | | |
setKeep | public void setKeep(String keep)(Code) | | Flag to indicate that the scripting engine should be kept after the step completes and re-used for future script steps.
Parameters: keep - Indicates that the script engine should be kept for future steps. |
setLanguage | public void setLanguage(String language)(Code) | | Defines the language (required).
Parameters: language - Sets the scripting language. |
setSrc | public void setSrc(File fileName)(Code) | | Defines the src file containing scripting code (optional).
Parameters: fileName - Sets the name of the file containing script code. |
verifyParameters | protected void verifyParameters()(Code) | | Verify that language is set
throws: StepExecutionException - if a mandatory attribute is not set |
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)
|
|
|