public abstract class ErrorSource extends Object implements Selenese, ITestTarget
Selenese.Type| Constructor and Description |
|---|
ErrorSource() |
| Modifier and Type | Method and Description |
|---|---|
Result |
execute(Selenese parent,
Context context)
Execute script.
|
String |
getFilename()
Get filename.
|
String |
getName()
Get script name.
|
Result |
getResult()
Get result.
|
StopWatch |
getStopWatch()
Get stop watch.
|
ErrorSource |
initialize(String filename,
InvalidSeleneseException e)
Initialize.
|
boolean |
isError()
Is error object?
|
String |
toString() |
public ErrorSource initialize(String filename, InvalidSeleneseException e)
filename - Selenese script file.e - InvalidSeleneseException or null.public boolean isError()
isError in interface ITestTargetisError in interface Selenesepublic String getName()
SelenesegetName in interface ITestTargetgetName in interface Selenesepublic String getFilename()
public StopWatch getStopWatch()
ITestTargetgetStopWatch in interface ITestTargetpublic Result execute(Selenese parent, Context context) throws InvalidSeleneseException
Seleneseexecute in interface Seleneseparent - parent selenese instance or null.context - Selenese Runner context.InvalidSeleneseException - failed in parsing or executing selenese.public Result getResult()
Copyright © 2014. All rights reserved.