Run
¶
Source code in docs_src/capo_device_farm/types/run.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | |
app_upload
instance-attribute
¶
app_upload: NotRequired[AmazonResourceName]
An app to upload or that has been uploaded.
billing_method
instance-attribute
¶
billing_method: NotRequired[BillingMethod]
Specifies the billing method for a test run: metered or unmetered. If the parameter is not specified, the default value is metered.
If you have unmetered device slots, you must set this to unmetered to use them. Otherwise, the run is counted toward metered device minutes.
completed_jobs
instance-attribute
¶
completed_jobs: NotRequired[Integer]
The total number of completed jobs.
customer_artifact_paths
instance-attribute
¶
customer_artifact_paths: NotRequired[CustomerArtifactPaths]
Output CustomerArtifactPaths object for the test run.
device_minutes
instance-attribute
¶
device_minutes: NotRequired[DeviceMinutes]
Represents the total (metered or unmetered) minutes used by the test run.
device_pool_arn
instance-attribute
¶
device_pool_arn: NotRequired[AmazonResourceName]
The ARN of the device pool for the run.
device_proxy
instance-attribute
¶
device_proxy: NotRequired[DeviceProxy]
The device proxy configured for the devices in the run.
device_selection_result
instance-attribute
¶
device_selection_result: NotRequired[DeviceSelectionResult]
The results of a device filter used to select the devices for a test run.
environment_variables
instance-attribute
¶
environment_variables: NotRequired[EnvironmentVariables]
Environment variables associated with the run.
event_count
instance-attribute
¶
event_count: NotRequired[Integer]
For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.
execution_role_arn
instance-attribute
¶
execution_role_arn: NotRequired[AmazonRoleResourceName]
The IAM role associated with the run.
insights
instance-attribute
¶
insights: NotRequired[RunInsights]
The insights for the run, including the report status and job-level metrics. This field contains data only if you specified insightsTypes when you scheduled the run.
insights_types
instance-attribute
¶
insights_types: NotRequired[InsightsTypes]
The types of insights requested for the run.
job_timeout_minutes
instance-attribute
¶
job_timeout_minutes: NotRequired[JobTimeoutMinutes]
The number of minutes the job executes before it times out.
locale
instance-attribute
¶
locale: NotRequired[String]
Information about the locale that is used for the run.
location
instance-attribute
¶
location: NotRequired[Location]
Information about the location that is used for the run.
network_profile
instance-attribute
¶
network_profile: NotRequired[NetworkProfile]
The network profile being used for a test run.
parsing_result_url
instance-attribute
¶
parsing_result_url: NotRequired[String]
Read-only URL for an object in an S3 bucket where you can get the parsing results of the test package. If the test package doesn't parse, the reason why it doesn't parse appears in the file that this URL points to.
platform
instance-attribute
¶
platform: NotRequired[DevicePlatform]
The run's platform.
Allowed values include:
-
ANDROID
-
IOS
radios
instance-attribute
¶
radios: NotRequired[Radios]
Information about the radio states for the run.
result
instance-attribute
¶
result: NotRequired[ExecutionResult]
The run's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
result_code
instance-attribute
¶
result_code: NotRequired[ExecutionResultCode]
Supporting field for the result field. Set only if result is SKIPPED. PARSING_FAILED if the result is skipped because of test package parsing failure.
seed
instance-attribute
¶
seed: NotRequired[Integer]
For fuzz tests, this is a seed to use for randomizing the UI fuzz test. Using the same seed value between tests ensures identical event sequences.
skip_app_resign
instance-attribute
¶
skip_app_resign: NotRequired[SkipAppResign]
When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again.
For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs.
status
instance-attribute
¶
status: NotRequired[ExecutionStatus]
The run's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
test_spec_arn
instance-attribute
¶
test_spec_arn: NotRequired[AmazonResourceName]
The ARN of the YAML-formatted test specification for the run.
total_jobs
instance-attribute
¶
total_jobs: NotRequired[Integer]
The total number of jobs for the run.
type
instance-attribute
¶
type: NotRequired[TestType]
The run's type.
Must be one of the following values:
-
BUILTIN_FUZZ
-
APPIUM_JAVA_JUNIT
-
APPIUM_JAVA_TESTNG
-
APPIUM_PYTHON
-
APPIUM_NODE
-
APPIUM_RUBY
-
APPIUM_WEB_JAVA_JUNIT
-
APPIUM_WEB_JAVA_TESTNG
-
APPIUM_WEB_PYTHON
-
APPIUM_WEB_NODE
-
APPIUM_WEB_RUBY
-
INSTRUMENTATION
-
XCTEST
-
XCTEST_UI