public class ErrorTestCase extends ErrorSource implements ITestCase, IHtmlResultTestCase
Selenese.Type| Constructor and Description |
|---|
ErrorTestCase() |
| Modifier and Type | Method and Description |
|---|---|
Result |
execute(Selenese parent,
Context context)
Execute script.
|
CommandList |
getCommandList()
Get command list.
|
LogRecorder |
getLogRecorder()
Get log recorder.
|
CommandResultList |
getResultList()
Get test-case result list.
|
Selenese.Type |
getType()
Get selenese type.
|
ErrorTestCase |
initialize(String filename,
InvalidSeleneseException e)
Initialize.
|
void |
setLogRecorder(LogRecorder logRecorder)
Set log recorder.
|
getBaseName, getFilename, getName, getResult, getStopWatch, isError, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBaseName, getName, getStopWatch, isErrorgetFilenamegetName, getResultpublic void setLogRecorder(LogRecorder logRecorder)
ITestCasesetLogRecorder in interface ITestCaselogRecorder - log recorder.public LogRecorder getLogRecorder()
ITestCasegetLogRecorder in interface ITestCasepublic ErrorTestCase initialize(String filename, InvalidSeleneseException e)
ErrorSourceinitialize in class ErrorSourcefilename - Selenese script file.e - InvalidSeleneseException or null.public Selenese.Type getType()
IHtmlResultTestTargetgetType in interface IHtmlResultTestTargetgetType in interface Selenesepublic Result execute(Selenese parent, Context context) throws InvalidSeleneseException
Seleneseexecute in interface Seleneseexecute in class ErrorSourceparent - parent selenese instance or null.context - Selenese Runner context.InvalidSeleneseException - failed in parsing or executing selenese.public CommandList getCommandList()
getCommandList in interface IHtmlResultTestCasepublic CommandResultList getResultList()
getResultList in interface IHtmlResultTestCaseCopyright © 2016. All rights reserved.