|
|||||||||
| Home >> All >> com >> meterware >> httpunit >> [ scripting overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.meterware.httpunit.scripting
Interface ScriptingEngineFactory

- public interface ScriptingEngineFactory
| Method Summary | |
void |
associate(com.meterware.httpunit.WebResponse response)
Associates a scripting engine with the specified HTML web response. |
void |
clearErrorMessages()
Clears the accumulated script error messages. |
java.lang.String[] |
getErrorMessages()
Returns the accumulated script error messages encountered. |
boolean |
isEnabled()
Returns true if this engine is enabled. |
boolean |
isThrowExceptionsOnError()
Returns true if script errors cause exceptions to be thrown. |
void |
load(com.meterware.httpunit.WebResponse response)
Runs the 'onload' event (if any) for the specified HTML web response. |
void |
setThrowExceptionsOnError(boolean throwExceptions)
Determines whether script errors result in exceptions or warning messages. |
| Method Detail |
isEnabled
public boolean isEnabled()
- Returns true if this engine is enabled.
associate
public void associate(com.meterware.httpunit.WebResponse response)
- Associates a scripting engine with the specified HTML web response.
load
public void load(com.meterware.httpunit.WebResponse response)
- Runs the 'onload' event (if any) for the specified HTML web response. Will associate a scripting engine with
the response if that has not already been done.
setThrowExceptionsOnError
public void setThrowExceptionsOnError(boolean throwExceptions)
- Determines whether script errors result in exceptions or warning messages.
isThrowExceptionsOnError
public boolean isThrowExceptionsOnError()
- Returns true if script errors cause exceptions to be thrown.
getErrorMessages
public java.lang.String[] getErrorMessages()
- Returns the accumulated script error messages encountered. Error messages are accumulated only
if 'throwExceptionsOnError' is disabled.
clearErrorMessages
public void clearErrorMessages()
- Clears the accumulated script error messages.
|
|||||||||
| Home >> All >> com >> meterware >> httpunit >> [ scripting overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC