UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

uip tm teststeplog

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>
uip tm teststeplog list --project-key <key> --test-case-log-id <uuid>

All verbs honor the global options and the standard exit codes. 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

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

Data shape

{
  "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"
    }
  ]
}
{
  "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.

See also

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

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated