/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DeviceFarm { namespace Model { /** *

Represents test settings. This data structure is passed in as the test * parameter to ScheduleRun. For an example of the JSON request syntax, see * ScheduleRun.

See Also:

AWS * API Reference

*/ class ScheduleRunTest { public: AWS_DEVICEFARM_API ScheduleRunTest(); AWS_DEVICEFARM_API ScheduleRunTest(Aws::Utils::Json::JsonView jsonValue); AWS_DEVICEFARM_API ScheduleRunTest& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The test'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

  • *
*/ inline const TestType& GetType() const{ return m_type; } /** *

The test'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

  • *
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The test'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

  • *
*/ inline void SetType(const TestType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The test'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

  • *
*/ inline void SetType(TestType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The test'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

  • *
*/ inline ScheduleRunTest& WithType(const TestType& value) { SetType(value); return *this;} /** *

The test'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

  • *
*/ inline ScheduleRunTest& WithType(TestType&& value) { SetType(std::move(value)); return *this;} /** *

The ARN of the uploaded test to be run.

*/ inline const Aws::String& GetTestPackageArn() const{ return m_testPackageArn; } /** *

The ARN of the uploaded test to be run.

*/ inline bool TestPackageArnHasBeenSet() const { return m_testPackageArnHasBeenSet; } /** *

The ARN of the uploaded test to be run.

*/ inline void SetTestPackageArn(const Aws::String& value) { m_testPackageArnHasBeenSet = true; m_testPackageArn = value; } /** *

The ARN of the uploaded test to be run.

*/ inline void SetTestPackageArn(Aws::String&& value) { m_testPackageArnHasBeenSet = true; m_testPackageArn = std::move(value); } /** *

The ARN of the uploaded test to be run.

*/ inline void SetTestPackageArn(const char* value) { m_testPackageArnHasBeenSet = true; m_testPackageArn.assign(value); } /** *

The ARN of the uploaded test to be run.

*/ inline ScheduleRunTest& WithTestPackageArn(const Aws::String& value) { SetTestPackageArn(value); return *this;} /** *

The ARN of the uploaded test to be run.

*/ inline ScheduleRunTest& WithTestPackageArn(Aws::String&& value) { SetTestPackageArn(std::move(value)); return *this;} /** *

The ARN of the uploaded test to be run.

*/ inline ScheduleRunTest& WithTestPackageArn(const char* value) { SetTestPackageArn(value); return *this;} /** *

The ARN of the YAML-formatted test specification.

*/ inline const Aws::String& GetTestSpecArn() const{ return m_testSpecArn; } /** *

The ARN of the YAML-formatted test specification.

*/ inline bool TestSpecArnHasBeenSet() const { return m_testSpecArnHasBeenSet; } /** *

The ARN of the YAML-formatted test specification.

*/ inline void SetTestSpecArn(const Aws::String& value) { m_testSpecArnHasBeenSet = true; m_testSpecArn = value; } /** *

The ARN of the YAML-formatted test specification.

*/ inline void SetTestSpecArn(Aws::String&& value) { m_testSpecArnHasBeenSet = true; m_testSpecArn = std::move(value); } /** *

The ARN of the YAML-formatted test specification.

*/ inline void SetTestSpecArn(const char* value) { m_testSpecArnHasBeenSet = true; m_testSpecArn.assign(value); } /** *

The ARN of the YAML-formatted test specification.

*/ inline ScheduleRunTest& WithTestSpecArn(const Aws::String& value) { SetTestSpecArn(value); return *this;} /** *

The ARN of the YAML-formatted test specification.

*/ inline ScheduleRunTest& WithTestSpecArn(Aws::String&& value) { SetTestSpecArn(std::move(value)); return *this;} /** *

The ARN of the YAML-formatted test specification.

*/ inline ScheduleRunTest& WithTestSpecArn(const char* value) { SetTestSpecArn(value); return *this;} /** *

The test's filter.

*/ inline const Aws::String& GetFilter() const{ return m_filter; } /** *

The test's filter.

*/ inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } /** *

The test's filter.

*/ inline void SetFilter(const Aws::String& value) { m_filterHasBeenSet = true; m_filter = value; } /** *

The test's filter.

*/ inline void SetFilter(Aws::String&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); } /** *

The test's filter.

*/ inline void SetFilter(const char* value) { m_filterHasBeenSet = true; m_filter.assign(value); } /** *

The test's filter.

*/ inline ScheduleRunTest& WithFilter(const Aws::String& value) { SetFilter(value); return *this;} /** *

The test's filter.

*/ inline ScheduleRunTest& WithFilter(Aws::String&& value) { SetFilter(std::move(value)); return *this;} /** *

The test's filter.

*/ inline ScheduleRunTest& WithFilter(const char* value) { SetFilter(value); return *this;} /** *

The test's parameters, such as test framework parameters and fixture * settings. Parameters are represented by name-value pairs of strings.

For * all tests:

  • app_performance_monitoring: * Performance monitoring is enabled by default. Set this parameter to false to * disable it.

For Calabash tests:

  • profile: A * cucumber profile (for example, my_profile_name).

  • *

    tags: You can limit execution to features or scenarios that have (or don't * have) certain tags (for example, @smoke or @smoke,~@wip).

For * Appium tests (all types):

  • appium_version: The Appium version. * Currently supported values are 1.6.5 (and later), latest, and default.

      *
    • latest runs the latest Appium version supported by Device Farm * (1.9.1).

    • For default, Device Farm selects a compatible version * of Appium for the device. The current behavior is to run 1.7.2 on Android * devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later.

    • *

      This behavior is subject to change.

For fuzz * tests (Android only):

  • event_count: The number of events, * between 1 and 10000, that the UI fuzz test should perform.

  • *

    throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should * wait between events.

  • seed: A seed to use for randomizing the * UI fuzz test. Using the same seed value between tests ensures identical event * sequences.

For Explorer tests:

  • username: A * user name to use if the Explorer encounters a login form. If not supplied, no * user name is inserted.

  • password: A password to use if the * Explorer encounters a login form. If not supplied, no password is inserted.

    *

For Instrumentation:

  • filter: A test filter * string. Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *

For XCTest and XCTestUI:

  • filter: A test filter * string. Examples:

    • Running a single test class: * LoginTests

    • Running a multiple test classes: * LoginTests,SmokeTests

    • Running a single test: * LoginTests/testValid

    • Running multiple tests: * LoginTests/testValid,LoginTests/testInvalid

  • *

For UIAutomator:

  • filter: A test filter string. * Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *
*/ inline const Aws::Map& GetParameters() const{ return m_parameters; } /** *

The test's parameters, such as test framework parameters and fixture * settings. Parameters are represented by name-value pairs of strings.

For * all tests:

  • app_performance_monitoring: * Performance monitoring is enabled by default. Set this parameter to false to * disable it.

For Calabash tests:

  • profile: A * cucumber profile (for example, my_profile_name).

  • *

    tags: You can limit execution to features or scenarios that have (or don't * have) certain tags (for example, @smoke or @smoke,~@wip).

For * Appium tests (all types):

  • appium_version: The Appium version. * Currently supported values are 1.6.5 (and later), latest, and default.

      *
    • latest runs the latest Appium version supported by Device Farm * (1.9.1).

    • For default, Device Farm selects a compatible version * of Appium for the device. The current behavior is to run 1.7.2 on Android * devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later.

    • *

      This behavior is subject to change.

For fuzz * tests (Android only):

  • event_count: The number of events, * between 1 and 10000, that the UI fuzz test should perform.

  • *

    throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should * wait between events.

  • seed: A seed to use for randomizing the * UI fuzz test. Using the same seed value between tests ensures identical event * sequences.

For Explorer tests:

  • username: A * user name to use if the Explorer encounters a login form. If not supplied, no * user name is inserted.

  • password: A password to use if the * Explorer encounters a login form. If not supplied, no password is inserted.

    *

For Instrumentation:

  • filter: A test filter * string. Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *

For XCTest and XCTestUI:

  • filter: A test filter * string. Examples:

    • Running a single test class: * LoginTests

    • Running a multiple test classes: * LoginTests,SmokeTests

    • Running a single test: * LoginTests/testValid

    • Running multiple tests: * LoginTests/testValid,LoginTests/testInvalid

  • *

For UIAutomator:

  • filter: A test filter string. * Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *
*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *

The test's parameters, such as test framework parameters and fixture * settings. Parameters are represented by name-value pairs of strings.

For * all tests:

  • app_performance_monitoring: * Performance monitoring is enabled by default. Set this parameter to false to * disable it.

For Calabash tests:

  • profile: A * cucumber profile (for example, my_profile_name).

  • *

    tags: You can limit execution to features or scenarios that have (or don't * have) certain tags (for example, @smoke or @smoke,~@wip).

For * Appium tests (all types):

  • appium_version: The Appium version. * Currently supported values are 1.6.5 (and later), latest, and default.

      *
    • latest runs the latest Appium version supported by Device Farm * (1.9.1).

    • For default, Device Farm selects a compatible version * of Appium for the device. The current behavior is to run 1.7.2 on Android * devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later.

    • *

      This behavior is subject to change.

For fuzz * tests (Android only):

  • event_count: The number of events, * between 1 and 10000, that the UI fuzz test should perform.

  • *

    throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should * wait between events.

  • seed: A seed to use for randomizing the * UI fuzz test. Using the same seed value between tests ensures identical event * sequences.

For Explorer tests:

  • username: A * user name to use if the Explorer encounters a login form. If not supplied, no * user name is inserted.

  • password: A password to use if the * Explorer encounters a login form. If not supplied, no password is inserted.

    *

For Instrumentation:

  • filter: A test filter * string. Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *

For XCTest and XCTestUI:

  • filter: A test filter * string. Examples:

    • Running a single test class: * LoginTests

    • Running a multiple test classes: * LoginTests,SmokeTests

    • Running a single test: * LoginTests/testValid

    • Running multiple tests: * LoginTests/testValid,LoginTests/testInvalid

  • *

For UIAutomator:

  • filter: A test filter string. * Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *
*/ inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } /** *

The test's parameters, such as test framework parameters and fixture * settings. Parameters are represented by name-value pairs of strings.

For * all tests:

  • app_performance_monitoring: * Performance monitoring is enabled by default. Set this parameter to false to * disable it.

For Calabash tests:

  • profile: A * cucumber profile (for example, my_profile_name).

  • *

    tags: You can limit execution to features or scenarios that have (or don't * have) certain tags (for example, @smoke or @smoke,~@wip).

For * Appium tests (all types):

  • appium_version: The Appium version. * Currently supported values are 1.6.5 (and later), latest, and default.

      *
    • latest runs the latest Appium version supported by Device Farm * (1.9.1).

    • For default, Device Farm selects a compatible version * of Appium for the device. The current behavior is to run 1.7.2 on Android * devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later.

    • *

      This behavior is subject to change.

For fuzz * tests (Android only):

  • event_count: The number of events, * between 1 and 10000, that the UI fuzz test should perform.

  • *

    throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should * wait between events.

  • seed: A seed to use for randomizing the * UI fuzz test. Using the same seed value between tests ensures identical event * sequences.

For Explorer tests:

  • username: A * user name to use if the Explorer encounters a login form. If not supplied, no * user name is inserted.

  • password: A password to use if the * Explorer encounters a login form. If not supplied, no password is inserted.

    *

For Instrumentation:

  • filter: A test filter * string. Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *

For XCTest and XCTestUI:

  • filter: A test filter * string. Examples:

    • Running a single test class: * LoginTests

    • Running a multiple test classes: * LoginTests,SmokeTests

    • Running a single test: * LoginTests/testValid

    • Running multiple tests: * LoginTests/testValid,LoginTests/testInvalid

  • *

For UIAutomator:

  • filter: A test filter string. * Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *
*/ inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } /** *

The test's parameters, such as test framework parameters and fixture * settings. Parameters are represented by name-value pairs of strings.

For * all tests:

  • app_performance_monitoring: * Performance monitoring is enabled by default. Set this parameter to false to * disable it.

For Calabash tests:

  • profile: A * cucumber profile (for example, my_profile_name).

  • *

    tags: You can limit execution to features or scenarios that have (or don't * have) certain tags (for example, @smoke or @smoke,~@wip).

For * Appium tests (all types):

  • appium_version: The Appium version. * Currently supported values are 1.6.5 (and later), latest, and default.

      *
    • latest runs the latest Appium version supported by Device Farm * (1.9.1).

    • For default, Device Farm selects a compatible version * of Appium for the device. The current behavior is to run 1.7.2 on Android * devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later.

    • *

      This behavior is subject to change.

For fuzz * tests (Android only):

  • event_count: The number of events, * between 1 and 10000, that the UI fuzz test should perform.

  • *

    throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should * wait between events.

  • seed: A seed to use for randomizing the * UI fuzz test. Using the same seed value between tests ensures identical event * sequences.

For Explorer tests:

  • username: A * user name to use if the Explorer encounters a login form. If not supplied, no * user name is inserted.

  • password: A password to use if the * Explorer encounters a login form. If not supplied, no password is inserted.

    *

For Instrumentation:

  • filter: A test filter * string. Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *

For XCTest and XCTestUI:

  • filter: A test filter * string. Examples:

    • Running a single test class: * LoginTests

    • Running a multiple test classes: * LoginTests,SmokeTests

    • Running a single test: * LoginTests/testValid

    • Running multiple tests: * LoginTests/testValid,LoginTests/testInvalid

  • *

For UIAutomator:

  • filter: A test filter string. * Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *
*/ inline ScheduleRunTest& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} /** *

The test's parameters, such as test framework parameters and fixture * settings. Parameters are represented by name-value pairs of strings.

For * all tests:

  • app_performance_monitoring: * Performance monitoring is enabled by default. Set this parameter to false to * disable it.

For Calabash tests:

  • profile: A * cucumber profile (for example, my_profile_name).

  • *

    tags: You can limit execution to features or scenarios that have (or don't * have) certain tags (for example, @smoke or @smoke,~@wip).

For * Appium tests (all types):

  • appium_version: The Appium version. * Currently supported values are 1.6.5 (and later), latest, and default.

      *
    • latest runs the latest Appium version supported by Device Farm * (1.9.1).

    • For default, Device Farm selects a compatible version * of Appium for the device. The current behavior is to run 1.7.2 on Android * devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later.

    • *

      This behavior is subject to change.

For fuzz * tests (Android only):

  • event_count: The number of events, * between 1 and 10000, that the UI fuzz test should perform.

  • *

    throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should * wait between events.

  • seed: A seed to use for randomizing the * UI fuzz test. Using the same seed value between tests ensures identical event * sequences.

For Explorer tests:

  • username: A * user name to use if the Explorer encounters a login form. If not supplied, no * user name is inserted.

  • password: A password to use if the * Explorer encounters a login form. If not supplied, no password is inserted.

    *

For Instrumentation:

  • filter: A test filter * string. Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *

For XCTest and XCTestUI:

  • filter: A test filter * string. Examples:

    • Running a single test class: * LoginTests

    • Running a multiple test classes: * LoginTests,SmokeTests

    • Running a single test: * LoginTests/testValid

    • Running multiple tests: * LoginTests/testValid,LoginTests/testInvalid

  • *

For UIAutomator:

  • filter: A test filter string. * Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *
*/ inline ScheduleRunTest& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} /** *

The test's parameters, such as test framework parameters and fixture * settings. Parameters are represented by name-value pairs of strings.

For * all tests:

  • app_performance_monitoring: * Performance monitoring is enabled by default. Set this parameter to false to * disable it.

For Calabash tests:

  • profile: A * cucumber profile (for example, my_profile_name).

  • *

    tags: You can limit execution to features or scenarios that have (or don't * have) certain tags (for example, @smoke or @smoke,~@wip).

For * Appium tests (all types):

  • appium_version: The Appium version. * Currently supported values are 1.6.5 (and later), latest, and default.

      *
    • latest runs the latest Appium version supported by Device Farm * (1.9.1).

    • For default, Device Farm selects a compatible version * of Appium for the device. The current behavior is to run 1.7.2 on Android * devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later.

    • *

      This behavior is subject to change.

For fuzz * tests (Android only):

  • event_count: The number of events, * between 1 and 10000, that the UI fuzz test should perform.

  • *

    throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should * wait between events.

  • seed: A seed to use for randomizing the * UI fuzz test. Using the same seed value between tests ensures identical event * sequences.

For Explorer tests:

  • username: A * user name to use if the Explorer encounters a login form. If not supplied, no * user name is inserted.

  • password: A password to use if the * Explorer encounters a login form. If not supplied, no password is inserted.

    *

For Instrumentation:

  • filter: A test filter * string. Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *

For XCTest and XCTestUI:

  • filter: A test filter * string. Examples:

    • Running a single test class: * LoginTests

    • Running a multiple test classes: * LoginTests,SmokeTests

    • Running a single test: * LoginTests/testValid

    • Running multiple tests: * LoginTests/testValid,LoginTests/testInvalid

  • *

For UIAutomator:

  • filter: A test filter string. * Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *
*/ inline ScheduleRunTest& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } /** *

The test's parameters, such as test framework parameters and fixture * settings. Parameters are represented by name-value pairs of strings.

For * all tests:

  • app_performance_monitoring: * Performance monitoring is enabled by default. Set this parameter to false to * disable it.

For Calabash tests:

  • profile: A * cucumber profile (for example, my_profile_name).

  • *

    tags: You can limit execution to features or scenarios that have (or don't * have) certain tags (for example, @smoke or @smoke,~@wip).

For * Appium tests (all types):

  • appium_version: The Appium version. * Currently supported values are 1.6.5 (and later), latest, and default.

      *
    • latest runs the latest Appium version supported by Device Farm * (1.9.1).

    • For default, Device Farm selects a compatible version * of Appium for the device. The current behavior is to run 1.7.2 on Android * devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later.

    • *

      This behavior is subject to change.

For fuzz * tests (Android only):

  • event_count: The number of events, * between 1 and 10000, that the UI fuzz test should perform.

  • *

    throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should * wait between events.

  • seed: A seed to use for randomizing the * UI fuzz test. Using the same seed value between tests ensures identical event * sequences.

For Explorer tests:

  • username: A * user name to use if the Explorer encounters a login form. If not supplied, no * user name is inserted.

  • password: A password to use if the * Explorer encounters a login form. If not supplied, no password is inserted.

    *

For Instrumentation:

  • filter: A test filter * string. Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *

For XCTest and XCTestUI:

  • filter: A test filter * string. Examples:

    • Running a single test class: * LoginTests

    • Running a multiple test classes: * LoginTests,SmokeTests

    • Running a single test: * LoginTests/testValid

    • Running multiple tests: * LoginTests/testValid,LoginTests/testInvalid

  • *

For UIAutomator:

  • filter: A test filter string. * Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *
*/ inline ScheduleRunTest& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } /** *

The test's parameters, such as test framework parameters and fixture * settings. Parameters are represented by name-value pairs of strings.

For * all tests:

  • app_performance_monitoring: * Performance monitoring is enabled by default. Set this parameter to false to * disable it.

For Calabash tests:

  • profile: A * cucumber profile (for example, my_profile_name).

  • *

    tags: You can limit execution to features or scenarios that have (or don't * have) certain tags (for example, @smoke or @smoke,~@wip).

For * Appium tests (all types):

  • appium_version: The Appium version. * Currently supported values are 1.6.5 (and later), latest, and default.

      *
    • latest runs the latest Appium version supported by Device Farm * (1.9.1).

    • For default, Device Farm selects a compatible version * of Appium for the device. The current behavior is to run 1.7.2 on Android * devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later.

    • *

      This behavior is subject to change.

For fuzz * tests (Android only):

  • event_count: The number of events, * between 1 and 10000, that the UI fuzz test should perform.

  • *

    throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should * wait between events.

  • seed: A seed to use for randomizing the * UI fuzz test. Using the same seed value between tests ensures identical event * sequences.

For Explorer tests:

  • username: A * user name to use if the Explorer encounters a login form. If not supplied, no * user name is inserted.

  • password: A password to use if the * Explorer encounters a login form. If not supplied, no password is inserted.

    *

For Instrumentation:

  • filter: A test filter * string. Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *

For XCTest and XCTestUI:

  • filter: A test filter * string. Examples:

    • Running a single test class: * LoginTests

    • Running a multiple test classes: * LoginTests,SmokeTests

    • Running a single test: * LoginTests/testValid

    • Running multiple tests: * LoginTests/testValid,LoginTests/testInvalid

  • *

For UIAutomator:

  • filter: A test filter string. * Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *
*/ inline ScheduleRunTest& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } /** *

The test's parameters, such as test framework parameters and fixture * settings. Parameters are represented by name-value pairs of strings.

For * all tests:

  • app_performance_monitoring: * Performance monitoring is enabled by default. Set this parameter to false to * disable it.

For Calabash tests:

  • profile: A * cucumber profile (for example, my_profile_name).

  • *

    tags: You can limit execution to features or scenarios that have (or don't * have) certain tags (for example, @smoke or @smoke,~@wip).

For * Appium tests (all types):

  • appium_version: The Appium version. * Currently supported values are 1.6.5 (and later), latest, and default.

      *
    • latest runs the latest Appium version supported by Device Farm * (1.9.1).

    • For default, Device Farm selects a compatible version * of Appium for the device. The current behavior is to run 1.7.2 on Android * devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later.

    • *

      This behavior is subject to change.

For fuzz * tests (Android only):

  • event_count: The number of events, * between 1 and 10000, that the UI fuzz test should perform.

  • *

    throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should * wait between events.

  • seed: A seed to use for randomizing the * UI fuzz test. Using the same seed value between tests ensures identical event * sequences.

For Explorer tests:

  • username: A * user name to use if the Explorer encounters a login form. If not supplied, no * user name is inserted.

  • password: A password to use if the * Explorer encounters a login form. If not supplied, no password is inserted.

    *

For Instrumentation:

  • filter: A test filter * string. Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *

For XCTest and XCTestUI:

  • filter: A test filter * string. Examples:

    • Running a single test class: * LoginTests

    • Running a multiple test classes: * LoginTests,SmokeTests

    • Running a single test: * LoginTests/testValid

    • Running multiple tests: * LoginTests/testValid,LoginTests/testInvalid

  • *

For UIAutomator:

  • filter: A test filter string. * Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *
*/ inline ScheduleRunTest& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } /** *

The test's parameters, such as test framework parameters and fixture * settings. Parameters are represented by name-value pairs of strings.

For * all tests:

  • app_performance_monitoring: * Performance monitoring is enabled by default. Set this parameter to false to * disable it.

For Calabash tests:

  • profile: A * cucumber profile (for example, my_profile_name).

  • *

    tags: You can limit execution to features or scenarios that have (or don't * have) certain tags (for example, @smoke or @smoke,~@wip).

For * Appium tests (all types):

  • appium_version: The Appium version. * Currently supported values are 1.6.5 (and later), latest, and default.

      *
    • latest runs the latest Appium version supported by Device Farm * (1.9.1).

    • For default, Device Farm selects a compatible version * of Appium for the device. The current behavior is to run 1.7.2 on Android * devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later.

    • *

      This behavior is subject to change.

For fuzz * tests (Android only):

  • event_count: The number of events, * between 1 and 10000, that the UI fuzz test should perform.

  • *

    throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should * wait between events.

  • seed: A seed to use for randomizing the * UI fuzz test. Using the same seed value between tests ensures identical event * sequences.

For Explorer tests:

  • username: A * user name to use if the Explorer encounters a login form. If not supplied, no * user name is inserted.

  • password: A password to use if the * Explorer encounters a login form. If not supplied, no password is inserted.

    *

For Instrumentation:

  • filter: A test filter * string. Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *

For XCTest and XCTestUI:

  • filter: A test filter * string. Examples:

    • Running a single test class: * LoginTests

    • Running a multiple test classes: * LoginTests,SmokeTests

    • Running a single test: * LoginTests/testValid

    • Running multiple tests: * LoginTests/testValid,LoginTests/testInvalid

  • *

For UIAutomator:

  • filter: A test filter string. * Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *
*/ inline ScheduleRunTest& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } /** *

The test's parameters, such as test framework parameters and fixture * settings. Parameters are represented by name-value pairs of strings.

For * all tests:

  • app_performance_monitoring: * Performance monitoring is enabled by default. Set this parameter to false to * disable it.

For Calabash tests:

  • profile: A * cucumber profile (for example, my_profile_name).

  • *

    tags: You can limit execution to features or scenarios that have (or don't * have) certain tags (for example, @smoke or @smoke,~@wip).

For * Appium tests (all types):

  • appium_version: The Appium version. * Currently supported values are 1.6.5 (and later), latest, and default.

      *
    • latest runs the latest Appium version supported by Device Farm * (1.9.1).

    • For default, Device Farm selects a compatible version * of Appium for the device. The current behavior is to run 1.7.2 on Android * devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later.

    • *

      This behavior is subject to change.

For fuzz * tests (Android only):

  • event_count: The number of events, * between 1 and 10000, that the UI fuzz test should perform.

  • *

    throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should * wait between events.

  • seed: A seed to use for randomizing the * UI fuzz test. Using the same seed value between tests ensures identical event * sequences.

For Explorer tests:

  • username: A * user name to use if the Explorer encounters a login form. If not supplied, no * user name is inserted.

  • password: A password to use if the * Explorer encounters a login form. If not supplied, no password is inserted.

    *

For Instrumentation:

  • filter: A test filter * string. Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *

For XCTest and XCTestUI:

  • filter: A test filter * string. Examples:

    • Running a single test class: * LoginTests

    • Running a multiple test classes: * LoginTests,SmokeTests

    • Running a single test: * LoginTests/testValid

    • Running multiple tests: * LoginTests/testValid,LoginTests/testInvalid

  • *

For UIAutomator:

  • filter: A test filter string. * Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *
*/ inline ScheduleRunTest& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } /** *

The test's parameters, such as test framework parameters and fixture * settings. Parameters are represented by name-value pairs of strings.

For * all tests:

  • app_performance_monitoring: * Performance monitoring is enabled by default. Set this parameter to false to * disable it.

For Calabash tests:

  • profile: A * cucumber profile (for example, my_profile_name).

  • *

    tags: You can limit execution to features or scenarios that have (or don't * have) certain tags (for example, @smoke or @smoke,~@wip).

For * Appium tests (all types):

  • appium_version: The Appium version. * Currently supported values are 1.6.5 (and later), latest, and default.

      *
    • latest runs the latest Appium version supported by Device Farm * (1.9.1).

    • For default, Device Farm selects a compatible version * of Appium for the device. The current behavior is to run 1.7.2 on Android * devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later.

    • *

      This behavior is subject to change.

For fuzz * tests (Android only):

  • event_count: The number of events, * between 1 and 10000, that the UI fuzz test should perform.

  • *

    throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should * wait between events.

  • seed: A seed to use for randomizing the * UI fuzz test. Using the same seed value between tests ensures identical event * sequences.

For Explorer tests:

  • username: A * user name to use if the Explorer encounters a login form. If not supplied, no * user name is inserted.

  • password: A password to use if the * Explorer encounters a login form. If not supplied, no password is inserted.

    *

For Instrumentation:

  • filter: A test filter * string. Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *

For XCTest and XCTestUI:

  • filter: A test filter * string. Examples:

    • Running a single test class: * LoginTests

    • Running a multiple test classes: * LoginTests,SmokeTests

    • Running a single test: * LoginTests/testValid

    • Running multiple tests: * LoginTests/testValid,LoginTests/testInvalid

  • *

For UIAutomator:

  • filter: A test filter string. * Examples:

    • Running a single test case: * com.android.abc.Test1

    • Running a single test: * com.android.abc.Test1#smoke

    • Running multiple * tests: com.android.abc.Test1,com.android.abc.Test2

    *
*/ inline ScheduleRunTest& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } private: TestType m_type; bool m_typeHasBeenSet = false; Aws::String m_testPackageArn; bool m_testPackageArnHasBeenSet = false; Aws::String m_testSpecArn; bool m_testSpecArnHasBeenSet = false; Aws::String m_filter; bool m_filterHasBeenSet = false; Aws::Map m_parameters; bool m_parametersHasBeenSet = false; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws