# uip tm teststeplog

> Syntax and options for `uip tm teststeplog list`, which retrieves the execution log for individual steps of a manual or mixed test case run.

`uip tm teststeplog` retrieves the execution log for the individual steps of a manual or mixed test case that was run as part of a test execution. Each step log captures the step's action, expected result, actual outcome, and any note the tester recorded.

Step logs are produced when a manual test case has steps defined (`uip tm testcases list-steps`) and those steps are executed and recorded during a run.

## Synopsis

```
uip tm teststeplog list --project-key <key> --test-case-log-id <uuid>
```

All verbs honor the [global options](./global-options.md) and the standard [exit codes](./exit-codes.md). Every verb accepts `-t, --tenant <name>` and `--log-level <level>` (default `Information`).

## uip tm teststeplog list

List the step-level logs for a single test case log.

### Arguments

None.

### Options

- `--project-key <key>` *(required)* — owning project.
- `--test-case-log-id <uuid>` *(required)* — test case log UUID. Get this from `uip tm executions testcaselogs list`.

### Example

```bash
uip tm teststeplog list \
  --project-key DEMO \
  --test-case-log-id a1b2c3d4-0000-0000-0000-000000000001
```

### Data shape

```json
{
  "Code": "TestStepLogList",
  "Data": [
    {
      "StepId": "d4e5f6a7-0000-0000-0000-000000000001",
      "Order": 1,
      "Action": "Open the login page",
      "ExpectedResult": "The login form is visible",
      "ActualResult": "Page loaded successfully",
      "Result": "Passed"
    },
    {
      "StepId": "d4e5f6a7-0000-0000-0000-000000000002",
      "Order": 2,
      "Action": "Enter valid credentials",
      "ExpectedResult": "User is redirected to the dashboard",
      "ActualResult": "Error 401 returned",
      "Result": "Failed"
    }
  ]
}
```

Each `StepId` corresponds to a step defined in `uip tm testcases list-steps`.

## Related

- [testcases list-steps](./uip-test-manager-testcases.md#uip-tm-testcases-list-steps) — list the step definitions for a test case.
- [testcaselogs list-assertions](./uip-test-manager-testcases.md#uip-tm-testcaselogs-list-assertions) — list assertion-level detail for a test case log.
- [executions testcaselogs list](./uip-test-manager-executions.md#uip-tm-executions-testcaselogs-list) — list all test case logs in an execution.

## See also

- [Test Manager overview](./uip-test-manager.md)
