AWS SDK Version 2 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.

.NET Framework 3.5
Represents an app on a set of devices with a specific test and configuration.

Inheritance Hierarchy


Namespace: Amazon.DeviceFarm.Model
Assembly: AWSSDK.dll
Version: (assembly version)


public class Run : Object

The Run type exposes the following members


Public Method Run()


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 unmetered.

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 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 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:

  • ERRORED: An error condition.

  • FAILED: A failed condition.

  • SKIPPED: A skipped condition.

  • STOPPED: A stopped condition.

  • PASSED: A passing condition.

  • PENDING: A pending condition.

  • WARNED: A warning condition.

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:

  • COMPLETED: A completed status.

  • PENDING: A pending status.

  • PROCESSING: A processing status.

  • RUNNING: A running status.

  • SCHEDULING: A scheduling 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.

  • CALABASH: The Calabash type.

  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: The uiautomation type.

  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test 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.

Version Information

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