You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::DeviceFarm::Types::Run

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Represents a test run on a set of devices with a given app package, test parameters, and so on.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#app_upload ⇒ String

An app to upload or that has been uploaded.

Returns:

  • (String) —

    An app to upload or that has been uploaded.

#arn ⇒ String

The run\'s ARN.

Returns:

  • (String) —

    The run\'s ARN.

#billing_method ⇒ String

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.

Possible values:

  • METERED
  • UNMETERED

Returns:

  • (String) —

    Specifies the billing method for a test run: metered or unmetered.

#completed_jobs ⇒ Integer

The total number of completed jobs.

Returns:

  • (Integer) —

    The total number of completed jobs.

#counters ⇒ Types::Counters

The run\'s result counters.

Returns:

#created ⇒ Time

When the run was created.

Returns:

  • (Time) —

    When the run was created.

#customer_artifact_paths ⇒ Types::CustomerArtifactPaths

Output CustomerArtifactPaths object for the test run.

Returns:

#device_minutes ⇒ Types::DeviceMinutes

Represents the total (metered or unmetered) minutes used by the test run.

Returns:

  • (Types::DeviceMinutes) —

    Represents the total (metered or unmetered) minutes used by the test run.

#device_pool_arn ⇒ String

The ARN of the device pool for the run.

Returns:

  • (String) —

    The ARN of the device pool for the run.

#device_selection_result ⇒ Types::DeviceSelectionResult

The results of a device filter used to select the devices for a test run.

Returns:

#event_count ⇒ Integer

For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.

Returns:

  • (Integer) —

    For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.

#job_timeout_minutes ⇒ Integer

The number of minutes the job executes before it times out.

Returns:

  • (Integer) —

    The number of minutes the job executes before it times out.

#locale ⇒ String

Information about the locale that is used for the run.

Returns:

  • (String) —

    Information about the locale that is used for the run.

#location ⇒ Types::Location

Information about the location that is used for the run.

Returns:

  • (Types::Location) —

    Information about the location that is used for the run.

#message ⇒ String

A message about the run\'s result.

Returns:

  • (String) —

    A message about the run\'s result.

#name ⇒ String

The run\'s name.

Returns:

  • (String) —

    The run\'s name.

#network_profile ⇒ Types::NetworkProfile

The network profile being used for a test run.

Returns:

#parsing_result_url ⇒ 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.

Returns:

  • (String) —

    Read-only URL for an object in an S3 bucket where you can get the parsing results of the test package.

#platform ⇒ String

The run\'s platform.

Allowed values include:

  • ANDROID

  • IOS

    Possible values:

    • ANDROID
    • IOS

Returns:

  • (String) —

    The run\'s platform.

#radios ⇒ Types::Radios

Information about the radio states for the run.

Returns:

  • (Types::Radios) —

    Information about the radio states for the run.

#result ⇒ String

The run\'s result.

Allowed values include:

  • PENDING

  • PASSED

  • WARNED

  • FAILED

  • SKIPPED

  • ERRORED

  • STOPPED

    Possible values:

    • PENDING
    • PASSED
    • WARNED
    • FAILED
    • SKIPPED
    • ERRORED
    • STOPPED

Returns:

  • (String) —

    The run\'s result.

#result_code ⇒ String

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.

Possible values:

  • PARSING_FAILED
  • VPC_ENDPOINT_SETUP_FAILED

Returns:

  • (String) —

    Supporting field for the result field.

#seed ⇒ 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.

Returns:

  • (Integer) —

    For fuzz tests, this is a seed to use for randomizing the UI fuzz test.

#skip_app_resign ⇒ Boolean

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.

Returns:

  • (Boolean) —

    When set to true, for private devices, Device Farm does not sign your app again.

#started ⇒ Time

The run\'s start time.

Returns:

  • (Time) —

    The run\'s start time.

#status ⇒ String

The run\'s status.

Allowed values include:

  • PENDING

  • PENDING_CONCURRENCY

  • PENDING_DEVICE

  • PROCESSING

  • SCHEDULING

  • PREPARING

  • RUNNING

  • COMPLETED

  • STOPPING

    Possible values:

    • PENDING
    • PENDING_CONCURRENCY
    • PENDING_DEVICE
    • PROCESSING
    • SCHEDULING
    • PREPARING
    • RUNNING
    • COMPLETED
    • STOPPING

Returns:

  • (String) —

    The run\'s status.

#stopped ⇒ Time

The run\'s stop time.

Returns:

  • (Time) —

    The run\'s stop time.

#test_spec_arn ⇒ String

The ARN of the YAML-formatted test specification for the run.

Returns:

  • (String) —

    The ARN of the YAML-formatted test specification for the run.

#total_jobs ⇒ Integer

The total number of jobs for the run.

Returns:

  • (Integer) —

    The total number of jobs for the run.

#type ⇒ String

The run\'s type.

Must be one of the following values:

  • BUILTIN_FUZZ

  • BUILTIN_EXPLORER

    For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.

  • 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

  • CALABASH

  • INSTRUMENTATION

  • UIAUTOMATION

  • UIAUTOMATOR

  • XCTEST

  • XCTEST_UI

    Possible values:

    • BUILTIN_FUZZ
    • BUILTIN_EXPLORER
    • WEB_PERFORMANCE_PROFILE
    • 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
    • CALABASH
    • INSTRUMENTATION
    • UIAUTOMATION
    • UIAUTOMATOR
    • XCTEST
    • XCTEST_UI
    • REMOTE_ACCESS_RECORD
    • REMOTE_ACCESS_REPLAY

Returns:

  • (String) —

    The run\'s type.

#web_url ⇒ String

The Device Farm console URL for the recording of the run.

Returns:

  • (String) —

    The Device Farm console URL for the recording of the run.