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

Class: Aws::DeviceFarm::Types::Job

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

Overview

Represents a device.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The job\'s ARN.

Returns:

  • (String) —

    The job\'s ARN.

#counters ⇒ Types::Counters

The job\'s result counters.

Returns:

#created ⇒ Time

When the job was created.

Returns:

  • (Time) —

    When the job was created.

#device ⇒ Types::Device

The device (phone or tablet).

Returns:

#device_minutes ⇒ Types::DeviceMinutes

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

Returns:

#instance_arn ⇒ String

The ARN of the instance.

Returns:

  • (String) —

    The ARN of the instance.

#message ⇒ String

A message about the job\'s result.

Returns:

  • (String) —

    A message about the job\'s result.

#name ⇒ String

The job\'s name.

Returns:

  • (String) —

    The job\'s name.

#result ⇒ String

The job\'s result.

Allowed values include:

  • PENDING

  • PASSED

  • WARNED

  • FAILED

  • SKIPPED

  • ERRORED

  • STOPPED

    Possible values:

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

Returns:

  • (String) —

    The job\'s result.

#started ⇒ Time

The job\'s start time.

Returns:

  • (Time) —

    The job\'s start time.

#status ⇒ String

The job\'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 job\'s status.

#stopped ⇒ Time

The job\'s stop time.

Returns:

  • (Time) —

    The job\'s stop time.

#type ⇒ String

The job\'s type.

Allowed values include the following:

  • 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 job\'s type.

#video_capture ⇒ Boolean

This value is set to true if video capture is enabled. Otherwise, it is set to false.

Returns:

  • (Boolean) —

    This value is set to true if video capture is enabled.

#video_endpoint ⇒ String

The endpoint for streaming device video.

Returns:

  • (String) —

    The endpoint for streaming device video.