Class TestProject

    • Constructor Detail

      • TestProject

        public TestProject()
    • Method Detail

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