Updated on 2023-11-28 GMT+08:00

Creating a Custom Automation Suite

Prerequisites

Custom automation test cases have been created.

Procedure

  1. Log in to the service homepage, search for your target project, and click the project name to access the project.
  2. In the navigation pane, choose Testing > Testing Execution.
  3. Click next to Baseline and select a version.
  4. Click next to Test case library and select a test plan.
  5. On the custom execution type tab page, click Create Test Suite at the upper left corner or Create Test Suite in the middle of the page. The creation page is displayed.
  6. Enter basic information such as the name, click Add Case or Add Now, and select the test case to be executed.
  7. Complete the execution settings, and click Save. The custom automation suite is created.

    Configuration Item

    Mandatory

    Description

    Resource Pool

    Yes

    You can add your own execution resources to the resource pool. When executing a task, you can select an agent in the pool to execute the task, improving efficiency without depending on the public execution resources of the software development platform.

    Tag

    No

    Set tags for the current task as required. The tags are separated by spaces. Each task can be associated with a maximum of 10 tags.

    Module

    No

    Module to which a test case belongs. The module list comes from the project settings.

    Processor

    No

    Person who needs to complete the test task.

    Version

    No

    Select the version that has been set for the current test plan and test cases.

    Environment Parameters

    No

    Environment parameters can be referenced by parameters, checkpoints, variables, and URLs of test steps in the entire project.

    Max. Duration

    Yes

    The longest time taken for executing a test case. Cases exceeding this limit will fail. The task continues until the last case is complete. The value can be set to minutes.

    Configure Test Suite Parameters

    No

    Add new parameters or modify existing global parameters of the test suite.

    Execution Policy

    Yes

    There are two types. By default, the task is executed only once.

    • Once: The test suite is executed only once.
    • Regularly: After you set an execution frequency, the test suite is executed periodically. The value can be minute-level, hour-level, or day-level.

    Start

    Yes

    There are two options. By default, the task is executed immediately.

    • Immediately: The task is executed immediately.
    • At specific time: The task is executed at a specified time.

    Sequence

    Yes

    There are two modes. The default mode is Serial.

    • Serial: API automation test cases or API test suite cases are distributed to one executor for serial execution.
    • Parallel: API automation test cases or API test suite cases are distributed to multiple executors for parallel execution.