Package jp.vmi.selenium.selenese
Class TestProject
- java.lang.Object
-
- jp.vmi.selenium.selenese.TestSuite
-
- jp.vmi.selenium.selenese.TestProject
-
- All Implemented Interfaces:
IHtmlResultTestSuite,IHtmlResultTestTarget,ITestSuite,ITestTarget,ITreedFileGenerator,Selenese
public class TestProject extends TestSuite
test-project object for execution.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jp.vmi.selenium.selenese.Selenese
Selenese.Type
-
-
Constructor Summary
Constructors Constructor Description TestProject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resultexecute(Selenese parent, Context context)Execute script.TestCaseMapgetTestCaseMap()Get test-case map.Selenese.TypegetType()Get script type.TestProjectinitialize(String filename, String name)Initialize after constructed.SelenesepullOutFirstFromSeleneseList()Pull out the first element from the selenese list and unlink the parent from that element.voidsetTestCaseMap(TestCaseMap testCaseMap)Set test-case map.StringtoString()-
Methods inherited from class jp.vmi.selenium.selenese.TestSuite
addSelenese, addSeleneseFile, getBaseName, getId, getIndex, getName, getParent, getResult, getSeleneseList, getStopWatch, getWebDriverName, isError, setId, setIndex, setParent, setWebDriverName, toStringImpl
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jp.vmi.selenium.selenese.ITreedFileGenerator
getFileBaseName, getFileBaseName, getIndexes
-
-
-
-
Method Detail
-
initialize
public TestProject initialize(String filename, String name)
Description copied from class:TestSuiteInitialize after constructed.- Overrides:
initializein classTestSuite- Parameters:
filename- Selenese script file.name- test-case name.- Returns:
- this.
-
getType
public Selenese.Type getType()
Description copied from interface:SeleneseGet script type.
-
pullOutFirstFromSeleneseList
public Selenese pullOutFirstFromSeleneseList()
Pull out the first element from the selenese list and unlink the parent from that element.- Returns:
- selenese.
-
setTestCaseMap
public void setTestCaseMap(TestCaseMap testCaseMap)
Set test-case map.- Parameters:
testCaseMap- test-case map.
-
getTestCaseMap
public TestCaseMap getTestCaseMap()
Get test-case map.- Returns:
- test-case map.
-
execute
public Result execute(Selenese parent, Context context)
Description copied from interface:SeleneseExecute script.
-
-