AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.DeviceFarm.Model.Run

Namespace: Amazon.DeviceFarm.Model
Assembly: AWSSDK.DeviceFarm.dll
Version: 3.x.y.z

Syntax

C#
public class Run

The Run type exposes the following members

Constructors

NameDescription
Public Method Run()

Properties

NameTypeDescription
Public Property Arn System.String

Gets and sets the property Arn.

The run's ARN.

Public Property BillingMethod Amazon.DeviceFarm.BillingMethod

Gets and sets the property BillingMethod.

Specifies the billing method for a test run: metered or unmetered. If the parameter is not specified, the default value is metered.

Public Property CompletedJobs System.Int32

Gets and sets the property CompletedJobs.

The total number of completed jobs.

Public Property Counters Amazon.DeviceFarm.Model.Counters

Gets and sets the property Counters.

The run's result counters.

Public Property Created System.DateTime

Gets and sets the property Created.

When the run was created.

Public Property CustomerArtifactPaths Amazon.DeviceFarm.Model.CustomerArtifactPaths

Gets and sets the property CustomerArtifactPaths.

Output CustomerArtifactPaths object for the test run.

Public Property DeviceMinutes Amazon.DeviceFarm.Model.DeviceMinutes

Gets and sets the property DeviceMinutes.

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

Public Property Message System.String

Gets and sets the property Message.

A message about the run's result.

Public Property Name System.String

Gets and sets the property Name.

The run's name.

Public Property NetworkProfile Amazon.DeviceFarm.Model.NetworkProfile

Gets and sets the property NetworkProfile.

The network profile being used for a test run.

Public Property ParsingResultUrl System.String

Gets and sets the property ParsingResultUrl.

Read-only URL for an object in 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.

Public Property Platform Amazon.DeviceFarm.DevicePlatform

Gets and sets the property Platform.

The run's platform.

Allowed values include:

  • ANDROID: The Android platform.

  • IOS: The iOS platform.

Public Property Result Amazon.DeviceFarm.ExecutionResult

Gets and sets the property Result.

The run's result.

Allowed values include:

  • PENDING: A pending condition.

  • PASSED: A passing condition.

  • WARNED: A warning condition.

  • FAILED: A failed condition.

  • SKIPPED: A skipped condition.

  • ERRORED: An error condition.

  • STOPPED: A stopped condition.

Public Property ResultCode Amazon.DeviceFarm.ExecutionResultCode

Gets and sets the property ResultCode.

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.

Public Property Started System.DateTime

Gets and sets the property Started.

The run's start time.

Public Property Status Amazon.DeviceFarm.ExecutionStatus

Gets and sets the property Status.

The run's status.

Allowed values include:

  • PENDING: A pending status.

  • PENDING_CONCURRENCY: A pending concurrency status.

  • PENDING_DEVICE: A pending device status.

  • PROCESSING: A processing status.

  • SCHEDULING: A scheduling status.

  • PREPARING: A preparing status.

  • RUNNING: A running status.

  • COMPLETED: A completed status.

  • STOPPING: A stopping status.

Public Property Stopped System.DateTime

Gets and sets the property Stopped.

The run's stop time.

Public Property TotalJobs System.Int32

Gets and sets the property TotalJobs.

The total number of jobs for the run.

Public Property Type Amazon.DeviceFarm.TestType

Gets and sets the property Type.

The run's type.

Must be one of the following values:

  • BUILTIN_FUZZ: The built-in fuzz type.

  • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • APPIUM_PYTHON: The Appium Python type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

  • CALABASH: The Calabash type.

  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: The uiautomation type.

  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: The XCode UI test type.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms