public class TestSuite extends Object implements Selenese, ITestSuite, IHtmlResultTestSuite
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 |
getBaseName()
Get test-target file base name.
|
String |
getName()
Get test-target name.
|
Result |
getResult()
Get selenese result.
|
List<Selenese> |
getSeleneseList()
Get Selenese list.
|
StopWatch |
getStopWatch()
Get stop watch.
|
Selenese.Type |
getType()
Get script type.
|
String |
getWebDriverName()
Get WebDriver name.
|
TestSuite |
initialize(String filename,
String name)
Initialize after constructed.
|
boolean |
isError()
Is error instance?
|
void |
setWebDriverName(String webDriverName)
Set WebDriver name.
|
String |
toString() |
public TestSuite initialize(String filename, String name)
filename - Selenese script file.name - test-case name.public Selenese.Type getType()
SelenesegetType in interface IHtmlResultTestTargetgetType in interface Selenesepublic boolean isError()
ITestTargetisError in interface ITestTargetpublic String getName()
ITestTargetgetName in interface IHtmlResultTestTargetgetName in interface ITestTargetpublic String getBaseName()
ITestTargetgetBaseName in interface ITestTargetpublic String getWebDriverName()
public void setWebDriverName(String webDriverName)
webDriverName - WebDriver name.public 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()
SelenesegetResult in interface IHtmlResultTestTargetgetResult in interface Selenesepublic Result execute(Selenese parent, Context context)
SeleneseCopyright © 2017. All rights reserved.