Document toolboxDocument toolbox

(9.0-en) Test Case Import

Currently the add-on supports to import/migrate Test Cases from below:

[Screenshot - UG870_Admin_Test_Case_Import01]

Points to remember while importing Test Cases:

  1. Summary or Key is mandatory to start Import.
  2. Appropriate date format is required when processing with date fields.
  3. Step ID is mandatory when a step is provided.
  4. Providing ISSUE KEY will update the corresponding issue, if found.
  5. Specify Requirement ID in Requirement column if you want to import Test Cases with Requirement associations.
    Note: if Requirement ID specified in import file cannot be found in your project, the Test Case will still be imported without Requirement associations.
  6. Specify Test Suite path in Test Suite column if you want to import Test Cases with Test Suite associations.
    Note: If Test Suite path specified in import file cannot be found from your project, it will be created from import file.

Import Test Cases from a .csv file: 

To import test cases from .csv file, follow these steps:

  1. Click "Administration->Add-ons" from the main menu.
  2. Click the "Test Case Import" link from the left panel under the "SYNAPSERT" section.
  3. Click "CSV" icon from the page.
  4. Choose a project from "Project" dropdown and click "Next" button.
  5. Click "Choose File" button, browse to your test case file (.csv format).
  6. Click "Next" button.
  7. Select the CSV fields to import, then set how you would like these converted to fields in JIRA.
  8. Click "Import" button.

[Screenshot - UG870_Admin_Test_Case_Import02]

You can find test case import sample file from the link: Test_Case_Import_Sample_File_v8.5.csv

Import Test Cases from Test Link exported .xml file: 

To import test cases from Test Link exported .xml file, follow these steps:

  1. Click "Administration->Add-ons" from the main menu.
  2. Click the "Test Case Import" link from the left panel under the "SYNAPSERT" section.
  3. Click "Test Link" icon from the page.
  4. Choose a project from "Project" dropdown and click "Next" button.
  5. Click "Choose File" button, browse to your test case file (.xml format).
  6. Click "Next" button.
  7. Select the XML fields to import, then set how you would like these converted to fields in JIRA.
  8. Click "Import" button.

[Screenshot - UG870_Admin_Test_Case_Import03]

You can find test case import sample file (.xml) from the link: TestLink_Test_Case_Import_Sample_File.xml

Migrate Test Cases from Zephyr add-on: 

SynapseRT supports to migrate Zephyr Test Cases (issue type = Test) to SynapseRT Test Cases (issue type = Test Case).

To migrate test cases from Zephyr add-on, follow these steps:

[Precondition]:

  1. Install SynapeRT add-on to JIRA server from which Zephyr Test Cases are created.
  2. Disable Zephyr add-on, please refer to Atlassian Documentation about how to "Disabling and enabling add-ons". 
  3. Bulk move Zephyr Test Cases from "Test" issue type to "Test Case" issue type, please refer to Atlassian Documentation about how to "Move multiple issues".
    Note: you may need configure your JIRA project to make sure "Test Case" issue type is available for your project.

Once above preparation is done, follow below steps to complete data migration:

  1. Click "Administration->Add-ons" from the main menu.
  2. Click the "Test Case Import" link from the left panel under the "SYNAPSERT" section.
  3. Click "Zephyr" icon from the page.
  4. Click "Import" button.
[Screenshot - UG870_Admin_Test_Case_Import04]
[Screenshot - UG870_Admin_Test_Case_Import05]