UiPath Documentation
uipath-cli
latest
false
UiPath CLI user guide

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 manages the step-level logs recorded during a test case execution. A test step log captures the outcome of a single step within a test case log, providing granular pass/fail information below the test case level.

Synopsis​

uip tm teststeplog list --test-case-log-id <uuid> (--project-id <id> | --project-key <key>)
uip tm teststeplog list --test-case-log-id <uuid> (--project-id <id> | --project-key <key>)

All verbs honor the global options and the standard exit codes.

uip tm teststeplog list​

List the step logs for a specific test case log. Returns the full, unpaginated set — there is no --limit/--offset.

Arguments​

None.

Options​

  • --test-case-log-id <uuid> (required) — UUID of the test case log whose step logs to retrieve. Get this from uip tm executions testcaselogs list or uip tm testcases list-result-history.
  • --project-id <id> — Test Manager project ID. Wins if --project-key is also given.
  • --project-key <key> — Test Manager project key (for example, DEMO). Ignored if --project-id is also given.

Pass --project-id or --project-key. If you pass neither, the command fails with ErrorCode: invalid_argument.

Example​

uip tm teststeplog list \
  --test-case-log-id c3d4e5f6-0000-0000-0000-000000000001 \
  --project-key DEMO
uip tm teststeplog list \
  --test-case-log-id c3d4e5f6-0000-0000-0000-000000000001 \
  --project-key DEMO

Data shape​

{
  "Code": "TestStepLogList",
  "Data": [
    {
      "Id": "e5f6a7b8-0000-0000-0000-000000000001",
      "TestStepId": "d4e5f6a7-0000-0000-0000-000000000001",
      "Result": "Passed",
      "Comment": "Opened login page",
      "HasError": false,
      "HasAttachment": false,
      "TestCaseLogId": "c3d4e5f6-0000-0000-0000-000000000001",
      "OrderNo": 1,
      "ActionType": "Manual",
      "Description": "Open login page",
      "ExpectedResult": "Login form is displayed",
      "ClipboardData": ""
    },
    {
      "Id": "e5f6a7b8-0000-0000-0000-000000000002",
      "TestStepId": "d4e5f6a7-0000-0000-0000-000000000002",
      "Result": "Failed",
      "Comment": "Selector not found",
      "HasError": true,
      "HasAttachment": true,
      "TestCaseLogId": "c3d4e5f6-0000-0000-0000-000000000001",
      "OrderNo": 2,
      "ActionType": "Manual",
      "Description": "Submit valid credentials",
      "ExpectedResult": "User is signed in",
      "ClipboardData": ""
    }
  ]
}
{
  "Code": "TestStepLogList",
  "Data": [
    {
      "Id": "e5f6a7b8-0000-0000-0000-000000000001",
      "TestStepId": "d4e5f6a7-0000-0000-0000-000000000001",
      "Result": "Passed",
      "Comment": "Opened login page",
      "HasError": false,
      "HasAttachment": false,
      "TestCaseLogId": "c3d4e5f6-0000-0000-0000-000000000001",
      "OrderNo": 1,
      "ActionType": "Manual",
      "Description": "Open login page",
      "ExpectedResult": "Login form is displayed",
      "ClipboardData": ""
    },
    {
      "Id": "e5f6a7b8-0000-0000-0000-000000000002",
      "TestStepId": "d4e5f6a7-0000-0000-0000-000000000002",
      "Result": "Failed",
      "Comment": "Selector not found",
      "HasError": true,
      "HasAttachment": true,
      "TestCaseLogId": "c3d4e5f6-0000-0000-0000-000000000001",
      "OrderNo": 2,
      "ActionType": "Manual",
      "Description": "Submit valid credentials",
      "ExpectedResult": "User is signed in",
      "ClipboardData": ""
    }
  ]
}

Code is TestStepLogList (singular "Log"). HasAttachment: true means a screenshot or other artifact is attached to that step — download it with attachment download.

See also​

  • Synopsis​
  • uip tm teststeplog list​
  • Arguments​
  • Options​
  • Example​
  • Data shape​
  • Related​
  • See also​

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated