Connect / Client / list_test_case_execution_records

list_test_case_execution_records

Connect.Client.list_test_case_execution_records(**kwargs)

Lists detailed steps of test case execution that includes all observations along with actions taken and data associated in the specified Amazon Connect instance.

See also: AWS API Documentation

Request Syntax

response = client.list_test_case_execution_records(
    InstanceId='string',
    TestCaseId='string',
    TestCaseExecutionId='string',
    Status='INITIATED'|'PASSED'|'FAILED'|'IN_PROGRESS'|'STOPPED',
    NextToken='string',
    MaxResults=123
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance.

  • TestCaseId (string) –

    [REQUIRED]

    The identifier of the test case.

  • TestCaseExecutionId (string) –

    [REQUIRED]

    The identifier of the test case execution.

  • Status (string) – Filter execution records by status.

  • NextToken (string) – The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • MaxResults (integer) – The maximum number of results to return per page.

Return type:

dict

Returns:

Response Syntax

{
    'ExecutionRecords': [
        {
            'ObservationId': 'string',
            'Status': 'PASSED'|'FAILED'|'IN_PROGRESS'|'STOPPED',
            'Timestamp': datetime(2015, 1, 1),
            'Record': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • ExecutionRecords (list) –

      An array of test case execution record objects.

      • (dict) –

        Contains information about a test case execution record.

        • ObservationId (string) –

          The identifier of the execution record.

        • Status (string) –

          The status of the action execution.

        • Timestamp (datetime) –

          The timestamp when the action was executed.

        • Record (string) –

          The details of the executed record.

    • NextToken (string) –

      If there are additional results, this is the token for the next set of results.

Exceptions

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.InternalServiceException

  • Connect.Client.exceptions.AccessDeniedException