Interface ScheduleRunTest.Builder

  • Method Details

    • type

      The test's type.

      Must be one of the following values:

      • BUILTIN_FUZZ

      • 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

      • INSTRUMENTATION

      • XCTEST

      • XCTEST_UI

      Parameters:
      type - The test's type.

      Must be one of the following values:

      • BUILTIN_FUZZ

      • 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

      • INSTRUMENTATION

      • XCTEST

      • XCTEST_UI

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The test's type.

      Must be one of the following values:

      • BUILTIN_FUZZ

      • 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

      • INSTRUMENTATION

      • XCTEST

      • XCTEST_UI

      Parameters:
      type - The test's type.

      Must be one of the following values:

      • BUILTIN_FUZZ

      • 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

      • INSTRUMENTATION

      • XCTEST

      • XCTEST_UI

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • testPackageArn

      ScheduleRunTest.Builder testPackageArn(String testPackageArn)

      The ARN of the uploaded test to be run.

      Parameters:
      testPackageArn - The ARN of the uploaded test to be run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testSpecArn

      ScheduleRunTest.Builder testSpecArn(String testSpecArn)

      The ARN of the YAML-formatted test specification.

      Parameters:
      testSpecArn - The ARN of the YAML-formatted test specification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filter

      The test's filter.

      Parameters:
      filter - The test's filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parameters

      ScheduleRunTest.Builder parameters(Map<String,String> parameters)

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

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

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

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

      Returns:
      Returns a reference to this object so that method calls can be chained together.