Interface TestCaseExecutionStatus

  • All Superinterfaces:
    java.rmi.Remote, TptRemote

    public interface TestCaseExecutionStatus
    extends TptRemote
    This object provides an interface to obtain the current state of execution as well as any log messages for the assigned test case.
    • Method Detail

      • getStatusLog

        java.util.List<java.lang.String> getStatusLog()
                                               throws java.rmi.RemoteException
        Returns:
        Returns a list of log entries as String
        Throws:
        java.rmi.RemoteException - remote communication problem
      • reclassify

        void reclassify​(boolean success,
                        java.lang.String userName,
                        java.lang.String comment)
                 throws java.rmi.RemoteException
        Manuall set (reclassify) the execution status to either TestCaseExecutionStatus.TestCaseStatus.ResultSuccess or TestCaseExecutionStatus.TestCaseStatus.ResultFailed for the report. The actual test case result will not be overwritten by this operation.

        This function corresponds to the "reclassify" button in the TPT GUI.

        Parameters:
        success -
        • true if the test result should be reclassified to a success
        • false if the test result should be reclassified to a failure
        userName - The name for the user that is responsible for the reclassification.
        comment - A description/comment, why this reclassification is OK.
        Throws:
        java.rmi.RemoteException - remote communication problem
      • getExecutionConfigurationItem

        ExecutionConfigurationItem getExecutionConfigurationItem()
                                                          throws java.rmi.RemoteException
        Returns:
        The ExecutionConfigurationItem in which the assigned test case was, is or should be executed.
        Throws:
        java.rmi.RemoteException - remote communication problem
      • getTestcase

        Scenario getTestcase()
                      throws java.rmi.RemoteException
        Returns:
        The assigned test case.
        Throws:
        java.rmi.RemoteException - remote communication problem