get_specific_real_device_job_asset
Download specific assets like logs, videos, or test reports for mobile app testing jobs that ran on physical devices in Sauce Labs Real Device Cloud.
Instructions
Download a specific asset for a Real Device Cloud (RDC) job.
USE THIS METHOD WHEN:
- The job ran on a physical mobile device (iPhone, Android, etc.)
- get_test_assets returns an error about "Real Device job"
- get_log_json_file fails with asset not found errors
- You need logs/videos from mobile app testing
For web browser testing on virtual machines, use get_test_assets instead.
:param job_id: Required. The unique identifier of a job running on a real device in the data center. You can look up job
IDs using the Get Real Device Jobs endpoint.
:param asset_type: Required. The unique identifier of a job running on a real device in the data center. You can look up job
IDs using the Get Real Device Jobs endpoint. Possible values are:
'deviceLogs' - Device Logs | Appium, Espresso, XCUITest
'appiumLogs' - Appium Logs | Appium
'appiumRequests' - Appium Requests | Appium
'junit.xml' - JUnit XML | Espresso, XCUITest
'xcuitestLogs' - XCUITest Logs | XCUITest
'video.mp4' - Video | Appium, Espresso, XCUITest
'screenshots.zip' - Screenshots | Appium, Espresso
'network.har' - Network Logs | Appium, Espresso, XCUITest
'insights.json' - Device Vitals | Appium, Espresso, XCUITest
'crash.json' - Crash Logs | Appium
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| asset_type | Yes |