Help Center/ CodeArts TestPlan/ User Guide/ Settings/ Setting Test Case Fields
Updated on 2026-08-11 GMT+08:00

Setting Test Case Fields

If the preset test case fields do not meet your actual requirements, you can add custom fields.

  1. Log in to the CodeArts homepage, search for your target project, and click the project name to access the project.
  2. In the navigation pane, choose Settings > Testing.
  3. Click the Test Case Settings tab. Test case fields are displayed.
  4. Configure the fields:

    • Click in the Operation column to modify the names of some fields, add or delete options, and enable or disable Show or Required.
    • Enable or disable Display or Required on the setting page.
    • Click the drop-down list box of the default value of a field and select a value as the default value of the field after a test case is created.
    • Click in the Operation column to delete a field.

Adding a Custom Field

You can set custom fields. Custom fields are displayed in the details of test cases.

  1. In the Test Case Settings tab page, click Add Field. Max. 25 custom fields can be added.
  2. Set Field Name, Description, and Field Type, enable or disable Show and Required, and click OK.

    • Single-line text: Only one line can be entered in this field. The maximum length is 100 characters.
    • Multi-line text: Multiple lines of fields can be entered in this field. The maximum length is 2,000 characters.
    • Single-choice list: Only one option can be selected in this field. You can set up to 300 options, each within 40 characters. Options can be added by either of the following ways:
      • Click Add Option and enter the new option.
      • Click Multiple Entries. In the displayed dialog box, enter an option and press Enter. Each line of text will generate one option. Click OK.
    • Multi-choice list: Multiple options can be selected in this field. You can set up to 100 options, each within 40 characters. Options can be added by either of the following ways:
      • Click Add Option and enter the new option.
      • Click Multiple Entries. In the displayed dialog box, enter an option and press Enter. Each line of text will generate one option. Click OK.
    • Date Time: Field for setting date and time.
    • Date: Field for setting date.
    • Number: Field for entering an integer ranging from –9999999999 to 9999999999.
    • Decimal: Field for entering a decimal up to two decimal places.
    • Single-choice user: Field for selecting a user from the drop-down list box.
    • Multi-choice user: Field for selecting multiple users from the drop-down list box.

  3. The created field is displayed in the list. To edit the field, click . To delete the field, click .

Tenant Template Fields

Tenant administrators can configure test case fields for the entire tenant, enabling all users to reuse them across projects and reduce repetitive configuration.

Only tenant administrators (IAM users with the Tenant Administrator permissions) can create and update tenant template fields.

  1. Go to the Test Case Settings page. In the upper right corner of the page, hover over the icon next to Tenant Template Fields.
  2. Click to set.
  3. Configure fields by referring to 4 and Adding a Custom Field, and then return to the test case settings page.
  4. Click the project list in the upper left corner of the page and switch to another project.
  5. On the test case settings page, click Tenant Template Fields. The configured fields will overwrite the system fields of the project.

    If you repeat the preceding steps to update the tenant template fields, delete all custom fields before applying the updated tenant template and click Tenant Template Fields.