uipath-cli
latest
false
- Overview
- Get started
- Concepts
- Using UiPath CLI
- UiPath for Coding Agents
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip docsai
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- create-project
- diff
- find-activities
- get-analyzer-rules
- get-default-activity-xaml
- get-errors
- get-manual-test-cases
- get-manual-test-steps
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-workflow-examples
- pack
- restore
- run-file
- search-templates
- start-studio
- stop-execution
- uia
- uip traces
- Migration
- Reference & support
UiPath CLI user guide
uip tm objectlabel manages labels attached to Test Manager objects (test cases, requirements, and so on). Labels are free-form strings used to tag and group objects for filtering and search.
Synopsis
uip tm objectlabel list --object-id <uuid> --object-type <type>
uip tm objectlabel get --object-id <uuid> --object-type <type> --label <text>
uip tm objectlabel add --object-id <uuid> --object-type <type> --label <text>
uip tm objectlabel remove --object-id <uuid> --object-type <type> --label <text>
uip tm objectlabel list --object-id <uuid> --object-type <type>
uip tm objectlabel get --object-id <uuid> --object-type <type> --label <text>
uip tm objectlabel add --object-id <uuid> --object-type <type> --label <text>
uip tm objectlabel remove --object-id <uuid> --object-type <type> --label <text>
All verbs honor the global options and the standard exit codes. Every verb accepts -t, --tenant <name> and --log-level <level> (default Information).
--object-type <type> accepted values are tool-version-dependent (for example, testcase, requirement). Run uip tm objectlabel list --help to see the current enum.
uip tm objectlabel list
List all labels on an object.
Arguments
None.
Options
--object-id <uuid>(required) — object UUID (for example, a test case'sId).--object-type <type>(required) — type of object to query. Accepted values are tool-version-dependent; run--helpto see the current set.
Example
uip tm objectlabel list \
--object-id a1b2c3d4-0000-0000-0000-000000000001 \
--object-type testcase
uip tm objectlabel list \
--object-id a1b2c3d4-0000-0000-0000-000000000001 \
--object-type testcase
Data shape
{
"Code": "ObjectLabelList",
"Data": [
"smoke",
"high-priority"
]
}
{
"Code": "ObjectLabelList",
"Data": [
"smoke",
"high-priority"
]
}
uip tm objectlabel get
Check whether a specific label is present on an object.
Arguments
None.
Options
--object-id <uuid>(required) — object UUID.--object-type <type>(required) — type of object.--label <text>(required) — label to check.
Example
uip tm objectlabel get \
--object-id a1b2c3d4-0000-0000-0000-000000000001 \
--object-type testcase \
--label smoke
uip tm objectlabel get \
--object-id a1b2c3d4-0000-0000-0000-000000000001 \
--object-type testcase \
--label smoke
Data shape
{
"Code": "ObjectLabelGet",
"Data": {
"Label": "smoke",
"Present": true
}
}
{
"Code": "ObjectLabelGet",
"Data": {
"Label": "smoke",
"Present": true
}
}
uip tm objectlabel add
Attach a label to an object.
Arguments
None.
Options
--object-id <uuid>(required) — object UUID.--object-type <type>(required) — type of object.--label <text>(required) — label to attach.
Example
uip tm objectlabel add \
--object-id a1b2c3d4-0000-0000-0000-000000000001 \
--object-type testcase \
--label smoke
uip tm objectlabel add \
--object-id a1b2c3d4-0000-0000-0000-000000000001 \
--object-type testcase \
--label smoke
Data shape
{
"Code": "ObjectLabelAdd",
"Data": {
"Label": "smoke",
"Result": "Added"
}
}
{
"Code": "ObjectLabelAdd",
"Data": {
"Label": "smoke",
"Result": "Added"
}
}
uip tm objectlabel remove
Remove a label from an object.
Arguments
None.
Options
--object-id <uuid>(required) — object UUID.--object-type <type>(required) — type of object.--label <text>(required) — label to remove.
Example
uip tm objectlabel remove \
--object-id a1b2c3d4-0000-0000-0000-000000000001 \
--object-type testcase \
--label smoke
uip tm objectlabel remove \
--object-id a1b2c3d4-0000-0000-0000-000000000001 \
--object-type testcase \
--label smoke
Data shape
{
"Code": "ObjectLabelRemove",
"Data": {
"Label": "smoke",
"Result": "Removed"
}
}
{
"Code": "ObjectLabelRemove",
"Data": {
"Label": "smoke",
"Result": "Removed"
}
}
Related
- requirement — search requirements by label with
requirement search-by-label. - customfield — custom field definitions can use labels.