ktm resources get
Get details for a specific smartphone by serial/UUID
Get details for a specific smartphone by serial/UUID
Usage
ktm resources get <serial> [flags]
Examples
# Get smartphone details
ktm resources get EXAMPLE1234
# Get smartphone with installed apps (for V2 smartphone test authoring)
ktm resources get EXAMPLE1234 --include-apps
# Get smartphone with apps in table format
ktm resources get EXAMPLE1234 --include-apps -o table
Arguments
| Argument | Required |
|---|---|
serial | Yes |
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--include-apps | boolean | Fetch installed apps on the device (for V2 smartphone test authoring: copy package→starting.app, app object→meta) |
Details
Fetch device details for a single smartphone resource by its serial number or UUID.
Use --include-apps to also retrieve the list of installed applications on the device. The installed apps list maps directly to the V2 test's starting.app and meta fields:
- copy package → starting.app
- copy the app object {kind, name, label, package, version} → meta
To find smartphone serial numbers, use: ktm resources list --type smartphone
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on