Updated on 2024-04-25 GMT+08:00

Test Case Settings

If the preset test case fields do not meet your actual requirements, you can customize 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 on the tab page.
  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.

Customizing a 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.
  2. Set Field Name and Description. Set 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 500 characters.
    • Single-choice list: Only one option can be selected in this field. Click Add Options and set the required options for the field. A maximum of 10 options can be added.
    • Multi-choice list: Multiple options can be selected in this field. Click Add Options and set the required options for the field. A maximum of 10 options can be added.
    • 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 .