You can import Comma-Separated-Values (CSV) files directly into Zephyr Scale using a wizard.
If your data is in the Numbers spreadsheet program on a Mac OS, no worries! Just export to CSV before you proceed with the import process.
This topic is split into two main parts:
Note: |
Having issues? Starting a CSV file from scratch? Download the Sample1.csv template, which includes the suggested formatting. You must have Microsoft Excel installed to access the template. |
Before you import: format your CSV file
To import and allow you to map your fields and data accurately, the CSV file you use to import your test-case information needs to abide by a few formatting specifications.
Define your test steps
There are two ways you can format your test steps. Choose one.
Option 1
You can import the script type (Steps) by creating a column for Step and another column for the Expected Result, as demonstrated in the following example:
Option 2
System fields available for import
This table lists all of the system fields that are importable via the CSV.
System Field | Description |
Name |
Text field, single line. |
Precondition |
Text field, multi-line. |
Objective |
Text field, multi-line. |
Test Script (Steps) - Step |
Text field, multi-line. |
Test Script (Steps) - Expected Result |
Text field, multi-line. |
Test Script (Plain Text) |
Text field, single line. |
Folder |
Folder structure separated by a slash (/). |
Status |
Name or short sentence describing the value. |
Priority |
Name or short sentence describing the value. Example: Low, Medium, High, etc. |
Component |
Name or short sentence describing the value. |
Labels |
Name or short sentence describing the value. |
Owner |
The key of existing Jira users. |
Estimated Time |
The estimated time in seconds or using format hh:mm. |
Coverage |
An issue key list separated by a comma. |
Importing your data to Zephyr Scale
-
Open the project you want to import the test cases into, then click Tests > More > Import from File.
The Import from File wizard appears.
-
Click CSV.
The wizard progresses to the Setup stage. -
Upload your CSV file by dragging and dropping it into the defined area or by clicking Choose the File and selecting it from your local storage.
Your file uploads to the wizard. -
Complete the fields in the Settings section.
-
Destination Folder - The folder into which you want to import your test cases.
-
Date Format (two fields) - The format your test cases use, including the separator (slash, dash, or dot).
-
File Encoding - The file encoding used on your CSV file.
-
Choosing the incorrect encoding will affect your field mapping.
-
-
CSV Delimiter - The delimiter used on your CSV file.
-
Choosing the incorrect delimiter will affect your field mapping.
-
-
Start Import at Row - The row in which you want the import to begin.
Note: The This row contains the field names checkbox is selected by default. Deselect this option if the row specified does not contain field names.
-
-
Click Next.
The wizard progresses to the Field Mapping stage.
-
Map your fields, then click Next.
Unmapped fields will not be created.The wizard progresses to the Data Mapping stage.
-
Map your data type for components, priorities, statuses, labels, etc.
A message appears if there is no data to map.
Note the option to automatically create unmapped labels. -
Click Import.
Your test case information imports to Zephyr Scale. The wizard advances to the Results stage, where import messages and errors appear.