public class TestSuite extends Object implements Selenese, ITestSuite
Selenese.Type| Constructor and Description |
|---|
TestSuite() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSelenese(Selenese selenese)
Add Selenese (test-suite/test-case) instance.
|
void |
addSeleneseFile(String filename,
ICommandFactory commandFactory)
Add Selenese file.
|
Result |
execute(Selenese parent,
Context context)
Execute script.
|
String |
getName()
Get script name.
|
Result |
getResult()
Get test-suite result.
|
List<Selenese> |
getSeleneseList()
Get Selenese list.
|
StopWatch |
getStopWatch()
Get stop watch.
|
Selenese.Type |
getType()
Get script type.
|
TestSuite |
initialize(String filename,
String name)
Initialize after constructed.
|
boolean |
isError()
Is error instance?
|
String |
toString() |
public TestSuite initialize(String filename, String name)
filename - Selenese script file.name - test-case name.public Selenese.Type getType()
Selenesepublic boolean isError()
SeleneseisError in interface ITestTargetisError in interface Selenesepublic String getName()
SelenesegetName in interface ITestTargetgetName in interface Selenesepublic void addSelenese(Selenese selenese)
selenese - Selenese instance.public void addSeleneseFile(String filename, ICommandFactory commandFactory)
filename - Selenese file name.commandFactory - command factory.public StopWatch getStopWatch()
getStopWatch in interface ITestTargetpublic Result getResult()
public Result execute(Selenese parent, Context context)
SeleneseCopyright © 2014. All rights reserved.