Format data

Before you can upload requirements, tests, and defects from Excel to ALM, you must format the data.

Guidelines for formatting

When formatting requirements, tests, or defects in your Excel worksheet, consider the following:

  • Arrange the records that you want to upload in rows.

  • For each field that you want to upload, designate a column. Make sure to include all the required fields for requirements, tests, and defects, as defined in your ALM project.

  • You can manually map ALM fields to worksheet columns, or the Microsoft Excel Add-in can automatically map them. To enable automatic mapping:

    • Include a header row with heading names that are identical to the ALM field names.

    • The automatic mapping scans the header row for matching fields until the first empty cell. Make sure not to leave empty cells in the header row.

  • Make sure that each requirement, test, or defect contains data for all the required fields, as defined in your ALM project. For details about the system and user fields defined in your project, see the information about customizing projects in the Micro Focus Application Lifecycle Management Administrator Guide.

  • To upload multiple values to ALM fields that support multiple values, separate the values with a semicolon (;) character.

  • Field data must not exceed the field size in ALM.

  • Data intended for ALM fields that have selection lists must match the entries in those selection lists exactly. For example, the Priority field can accept only one of the following values: 5-Urgent, 4-Very High, 3-High, 2-Medium, or 1-Low.

  • Only plain text and hyperlinks are uploaded to ALM. Any graphics are ignored, and formatting is removed.

  • You can upload attachments for requirements, tests, or defects. For more information, see Format attachments.

  • You can upload design steps for tests.

  • You cannot upload information indirectly related to requirements, tests, or defects. For example, if uploading tests, you cannot specify the requirements covered by each test.

    However, if you modify or add tests in Excel and upload the data again to ALM, the existing tests are updated in the test plan module, and any test coverage to requirements is preserved.

  • Each requirement, test, or design step on the same hierarchical level must have a unique name. If a name is not unique, it will be overwritten. For example, if your worksheet contains two requirements on the same hierarchical level with the same name, only one is created.

For additional guidelines on formatting requirements, tests, or defects, see , , and .

Back to top

Format requirements

Before you upload your requirements to the ALM Requirements module, you format the requirements in your worksheet.

To format a requirement:

  1. Open your Excel worksheet.

  2. Define each requirement on a separate row. For each requirement, you must define all required fields as defined in your ALM project.

Consider the following points when formatting requirements:

Requirement types

You can assign a single requirement type to your requirements, or your requirements can include multiple requirement types. If they include multiple types:

  • Designate a Requirement Type column. For each requirement, specify the requirement type.

  • For each requirement, include data for the required fields of the specific requirement type.

Child requirements

To create a child requirement, add a Path column to the Excel worksheet. In the Path column, type the path under which the requirement is created. Separate each hierarchical level with a backslash (\) character. Make sure not to use a forward slash. If the hierarchy does not exist in ALM, the hierarchy is created along with the requirements.

Target Cycle

Target Release

  • If you enter data in a Target Cycle or Target Release field, you must include the path preceding the cycle or release. Separate each hierarchical level with a backslash (\) character.

    Example: parent1\parent2\TC1

    Make sure not to use a forward slash. If a Target Release or Target Cycle value is unique, you do not need to include its preceding hierarchy.

  • If you enter data in a Target Cycle field, you must also enter data in the Target Release field.

Back to top

Format tests

Before you upload your tests to the ALM Test Plan module, you format the tests in your worksheet.

To format a test:

  1. Open your Excel worksheet.

  2. Define each test on a separate row. For each test, you must define all required fields as defined in your ALM project.

Consider the following points when formatting tests:

Subject

Designate a Subject column, where you specify the test subject folder in which the test is created. To create tests in subfolders of the test plan tree, separate each hierarchical level with a backslash (\) character. Make sure not to use a forward slash.

Design steps

Enter each design step on a separate row. Identify the test under which the design step is included by typing the Subject and Test Name.

Back to top

Format defects

Before you upload your defects to the ALM Defects module, you format the defects in your worksheet.

To format a defect:

  1. Open your Excel worksheet.

  2. Define each defect on a separate row. For each defect, you must define all required fields as defined in your ALM project.

Consider the following points when formatting defects:

  • If you enter data in a Detected in Release, Detected in Cycle, Target Release, or Target Cycle field, you must include the path preceding the release or cycle. Separate each hierarchical level with a backslash (\) character.

    Example: parent1\parent2\TC1

    Make sure not to use a forward slash. If a Target Release or Target Cycle value is unique, you do not need to include its preceding hierarchy.

  • If you enter data in a Detected in Cycle or Target Cycle field, you must also enter data in the Detected in Release or Target Release field.

Note: When an ALM defect field has an input mask, the mask is not checked when you upload defects from Excel to ALM.

Back to top

Format attachments

When formatting attachments for requirements, tests, or defects, consider the following:

  • Designate a separate column for attachments.

  • To include attachments for test design steps, designate a separate column for design step attachments.

  • An attachment can be either a File or a URL.

    • To upload a file, specify the file name with its full path. For example, C:\file1.txt. Alternatively, type a hyperlink in the cell that points to the file.

    • To upload a URL, save the URL in a shortcut file, and then specify the full file path. You cannot enter a URL directly in the worksheet.

  • To include multiple attachments, list the attachments in the same cell separated by semicolons (;).

    Example: Attachment1;Attachment2;Attachment3

Back to top

Next steps: