com.meterware.httpunit.scripting
public abstract class ScriptableDelegate extends Object
Method Summary | |
---|---|
boolean | doEvent(String eventScript)
Executes the specified scripted event.
|
String | evaluateExpression(String urlString)
Evaluates the specified javascript expression, returning its value.
|
Object | get(String propertyName)
Returns the value of the named property. |
Object | get(int index)
Returns the value of the index property. |
protected ScriptableDelegate[] | getDelegates(HTMLElement[] elements) |
ScriptingEngine | getScriptEngine() |
ScriptingEngine | getScriptEngine(ScriptableDelegate child) |
String | runScript(String language, String script)
Executes the specified script, returning any intended replacement text. |
void | set(String propertyName, Object value)
Sets the value of the named property. |
void | setScriptEngine(ScriptingEngine scriptEngine)
Specifies the scripting engine to be used. |
boolean | supportsScript(String language) |
Returns: the replacement text, which may be empty.