@startyaml
hydraLabAPIServer:
    host: example.center-endpoint.com
    schema: https
    authToken: xxxxxxxxxx
testSpec:
    device:
        deviceIdentifier: RANDOMDEVICESERIALNUMBER123
        groupTestType: SINGLE
        deviceActions:
            setUp:
            - deviceType: Android
              method: setProperty
              args:
                - xxx
                - xxx
            - deviceType: Android
              method: pushFileToDevice
              args:
                - xxx
            tearDown:
            - deviceType: Android
              method: setProperty
              args:
              - xxx
            - deviceType: Android
              method: pullFileFromDevice
              args:
              - xxx
    triggerType: API
    runningType: INSTRUMENTATION
    appPath: ABSOLUTE_PATH_TO_APP_FILE
    pkgName: app.pkg.name
    testAppPath: ABSOLUTE_PATH_TO_TEST_APP_FILE
    testPkgName: test_app.pkg.name
    teamName: Default
    testRunnerName: androidx.test.runner.AndroidJUnitRunner
    testScope: CLASS
    testSuiteName: test.suite.class.name
    frameworkType: JUNIT4
    runTimeOutSeconds: 1000
    queueTimeOutSeconds: 500
    appVersion: 1.0.0
    skipInstall: false
    needUninstall: true
    needClearData: true
    neededPermissions:
        - android.permission.READ_CONTACTS
        - android.permission.WRITE_CONTACTS
    attachmentConfigPath: ABSOLUTE_PATH_TO_ATTACHMENT_CONFIG_FILE
    attachmentInfos:
    - fileName: a.json
      filePath: ABSOLUTE_PATH_TO_A_JSON
      fileType: COMMON
      loadType: COPY
      loadDir: DIR_TO_COPY_A_TO
    - fileName: b.json
      filePath: ABSOLUTE_PATH_TO_A_JSON
      fileType: COMMON
      loadType: COPY
      loadDir: DIR_TO_COPY_B_TO
    artifactTag: artifact_file_name_tag
    testRunArgs:
        key1: value1
        key2: value2
    exploration:
        maxStepCount: 100
        testRound: -1
    inspectionStrategies:
    - strategyType: TEST_SCHEDULE
      interval: 5000
      intervalUnit: MILLISECONDS
      inspection:
        inspectorType: INSPECTOR_ANDROID_BATTERY_INFO
        appId: com.microsoft.hydralab.android.client
        description: BATTERY
    - strategyType: TEST_SCHEDULE
      interval: 5000
      intervalUnit: MILLISECONDS
      inspection:
        inspectorType: INSPECTOR_ANDROID_MEMORY_INFO
        appId: com.microsoft.hydralab.android.client
        description: MEMORY
    - strategyType: TEST_LIFECYCLE
      when:
        - TEST_STARTED
        - TEST_SUCCESS
        - TEST_FAILURE
        - TEST_RUN_STARTED
        - TEST_RUN_FINISHED
      inspection:
        inspectorType: INSPECTOR_ANDROID_BATTERY_INFO
        appId: com.microsoft.hydralab.android.client
        description: test schedule
    enableFailingTask: true

@endyaml