Format data in Google Sheets

Before you can upload requirements, tests, and defects from Google Sheets to ALM, you must format the data. This section explains how to format the data in Google Sheets.

Guidelines for formatting

When formatting requirements, tests, or defects in your Google Sheets spreadsheet, 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 spreadsheet columns, or the Google Sheets add-on 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, ses Customize project entities.

  • 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.

  • 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 Google Sheets 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 spreadsheet contains two requirements on the same hierarchical level with the same name, only one is created.

Back to top

Format requirements

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

To format a requirement:

  1. Open your Google Sheets spreadsheet.

  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 requirement

To create a child requirement, add a Path column to the Google Sheets spreadsheet. 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, and leave the Target Release field empty, the Target Release field will be automatically filled with the value corresponding to the Target Cycle field.

Back to top

Format tests

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

To format a test:

  1. Open your Google Sheets spreadsheet.

  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. If a test includes multiple design steps, the add-on allows you to only fill in the Subject,Test Name, and Design Steps fields when you upload data to ALM. If the Subject and Test name fields are empty, they will be filled with the Subject and Test Name of the latest test.

Back to top

Format defects

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

To format a defect:

  1. Open your Google Sheets spreadsheet.

  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 Target Cycle field, and leave the Target Release field empty, the Target Release field will be automatically filled with the value corresponding to the Target Cycle field.

  • If you enter data in a Detected in Cycle field, and leave the Detected in Release field empty, the Detected in Release field will be automatically filled with the value corresponding to the Detected in Cycle field.

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, A:\file1.txt. (A is a folder under Google Drive default storage path).

    • 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 spreadsheet.

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

    Example: Attachment1;Attachment2;Attachment3

Next steps: