:doc:`Connect <../../connect>` / Client / list_test_case_execution_records

********************************
list_test_case_execution_records
********************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListTestCaseExecutionRecords>`_  


  **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
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The identifier of the Amazon Connect instance.

    

  
  :type TestCaseId: string
  :param TestCaseId: **[REQUIRED]** 

    The identifier of the test case.

    

  
  :type TestCaseExecutionId: string
  :param TestCaseExecutionId: **[REQUIRED]** 

    The identifier of the test case execution.

    

  
  :type Status: string
  :param Status: 

    Filter execution records by status.

    

  
  :type NextToken: string
  :param NextToken: 

    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.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return per page.

    

  
  
  :rtype: 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**
  
  *   :py:class:`Connect.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Connect.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  
  *   :py:class:`Connect.Client.exceptions.AccessDeniedException`

  