Interface TestCaseScenario.Builder

    • Method Detail

      • testCaseScenarioId

        TestCaseScenario.Builder testCaseScenarioId​(String testCaseScenarioId)

        Provides test case scenario ID.

        Parameters:
        testCaseScenarioId - Provides test case scenario ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • testCaseScenarioType

        TestCaseScenario.Builder testCaseScenarioType​(String testCaseScenarioType)

        Provides test case scenario type. Type is one of the following:

        • Advanced

        • Basic

        Parameters:
        testCaseScenarioType - Provides test case scenario type. Type is one of the following:

        • Advanced

        • Basic

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TestCaseScenarioType, TestCaseScenarioType
      • testCaseScenarioType

        TestCaseScenario.Builder testCaseScenarioType​(TestCaseScenarioType testCaseScenarioType)

        Provides test case scenario type. Type is one of the following:

        • Advanced

        • Basic

        Parameters:
        testCaseScenarioType - Provides test case scenario type. Type is one of the following:

        • Advanced

        • Basic

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TestCaseScenarioType, TestCaseScenarioType
      • status

        TestCaseScenario.Builder status​(String status)

        Provides the test case scenario status. Status is one of the following:

        • PASS: Test passed.

        • FAIL: Test failed.

        • PENDING: Test has not started running but is scheduled.

        • RUNNING: Test is running.

        • STOPPING: Test is performing cleanup steps. You will see this status only if you stop a suite run.

        • STOPPED Test is stopped. You will see this status only if you stop a suite run.

        • PASS_WITH_WARNINGS: Test passed with warnings.

        • ERORR: Test faced an error when running due to an internal issue.

        Parameters:
        status - Provides the test case scenario status. Status is one of the following:

        • PASS: Test passed.

        • FAIL: Test failed.

        • PENDING: Test has not started running but is scheduled.

        • RUNNING: Test is running.

        • STOPPING: Test is performing cleanup steps. You will see this status only if you stop a suite run.

        • STOPPED Test is stopped. You will see this status only if you stop a suite run.

        • PASS_WITH_WARNINGS: Test passed with warnings.

        • ERORR: Test faced an error when running due to an internal issue.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TestCaseScenarioStatus, TestCaseScenarioStatus
      • status

        TestCaseScenario.Builder status​(TestCaseScenarioStatus status)

        Provides the test case scenario status. Status is one of the following:

        • PASS: Test passed.

        • FAIL: Test failed.

        • PENDING: Test has not started running but is scheduled.

        • RUNNING: Test is running.

        • STOPPING: Test is performing cleanup steps. You will see this status only if you stop a suite run.

        • STOPPED Test is stopped. You will see this status only if you stop a suite run.

        • PASS_WITH_WARNINGS: Test passed with warnings.

        • ERORR: Test faced an error when running due to an internal issue.

        Parameters:
        status - Provides the test case scenario status. Status is one of the following:

        • PASS: Test passed.

        • FAIL: Test failed.

        • PENDING: Test has not started running but is scheduled.

        • RUNNING: Test is running.

        • STOPPING: Test is performing cleanup steps. You will see this status only if you stop a suite run.

        • STOPPED Test is stopped. You will see this status only if you stop a suite run.

        • PASS_WITH_WARNINGS: Test passed with warnings.

        • ERORR: Test faced an error when running due to an internal issue.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TestCaseScenarioStatus, TestCaseScenarioStatus
      • failure

        TestCaseScenario.Builder failure​(String failure)

        Provides test case scenario failure result.

        Parameters:
        failure - Provides test case scenario failure result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • systemMessage

        TestCaseScenario.Builder systemMessage​(String systemMessage)

        Provides test case scenario system messages if any.

        Parameters:
        systemMessage - Provides test case scenario system messages if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.