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
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, getTestCaseList, getWebDriverName, isError, setId, setIndex, setParent, setResult, setWebDriverName, toStringImplMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jp.vmi.selenium.selenese.ITreedFileGenerator
getFileBaseName, getFileBaseName, getIndexes
-
Constructor Details
-
TestProject
public TestProject()
-
-
Method Details
-
initialize
Description copied from class:TestSuiteInitialize after constructed.- Overrides:
initializein classTestSuite- Parameters:
filename- Selenese script file.name- test-case name.- Returns:
- this.
-
getType
Description copied from interface:SeleneseGet script type. -
pullOutFirstFromSeleneseList
Pull out the first element from the selenese list and unlink the parent from that element.- Returns:
- selenese.
-
setTestCaseMap
Set test-case map.- Parameters:
testCaseMap- test-case map.
-
getTestCaseMap
Get test-case map.- Returns:
- test-case map.
-
execute
Description copied from interface:SeleneseExecute script. -
toString
-