Format Excel data
Before you can upload requirements, tests, and defects from Excel to ALM, you must format the Excel 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 ALM help.
-
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.
Format requirements
Before you upload your requirements to the ALM Requirements module, you format the requirements in your worksheet.
To format a requirement:
-
Open your Excel worksheet.
-
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:
|
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 |
|
Example:
The worksheet contains data columns for the Name, Requirement Type, Author, Priority, and Product fields.
The Path column does not correlate to an ALM field. It is used to indicate the hierarchical level of each requirement. For example, Requirement_1 does not have an entry in that column, indicating that it is on the top hierarchical level. The path defined for Requirement_2 and Requirement_3 indicates that these requirements are child requirements of Requirement_1. The path defined for Requirement_4 indicates that it is a child of Requirement_3.
Requirement_3 and Requirement_4 are defined as the Testing requirement type and do not have entries in the Priority and Product columns. Priority and Product are not required fields for the Testing requirement type.
After you upload the requirements to ALM, Requirement_1 is displayed under the root requirement, and the other requirements are displayed on other hierarchical levels below Requirement_1. Requirement_3 and Requirement_4 do not have entries in the Priority and Product fields.
Format tests
Before you upload your tests to the ALM Test Plan module, you format the tests in your worksheet.
To format a test:
-
Open your Excel worksheet.
-
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. |
Example: This example shows two tests. Each test contains two design steps. The Subject column indicates the hierarchical level of each subject test folder in the test plan tree. For example, Subject_1 and Subject_2 are on different hierarchical levels. Subject_2 is a subfolder of Subject_1. Subject_1 is placed directly beneath the predefined Subject root folder.
After you upload the tests to ALM, Subject_1 contains Test_1 and Subject_2 contains Test_2. The subject test folders are on different hierarchical levels.
Format defects
Before you upload your defects to the ALM Defects module, you format the defects in your worksheet.
To format a defect:
-
Open your Excel worksheet.
-
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.
Example: Suppose you want to upload the following defects:
After you upload the defects to ALM, the defects are displayed in the Defects module.
Note: When an ALM defect field has an input mask, the mask is not checked when you upload defects from Excel to ALM.
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
Next steps: