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.
  • Constructor Details

    • TestProject

      public TestProject()
  • Method Details

    • initialize

      public TestProject initialize​(String filename, String name)
      Description copied from class: TestSuite
      Initialize after constructed.
      Overrides:
      initialize in class TestSuite
      Parameters:
      filename - Selenese script file.
      name - test-case name.
      Returns:
      this.
    • getType

      public Selenese.Type getType()
      Description copied from interface: Selenese
      Get script type.
      Specified by:
      getType in interface IHtmlResultTestTarget
      Specified by:
      getType in interface Selenese
      Overrides:
      getType in class TestSuite
      Returns:
      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: Selenese
      Execute script.
      Specified by:
      execute in interface Selenese
      Overrides:
      execute in class TestSuite
      Parameters:
      parent - parent selenese instance or null.
      context - Selenese Runner context.
      Returns:
      result.
    • toString

      public String toString()
      Overrides:
      toString in class TestSuite