Import Test Cases into a Project

Importing test cases allows you to quickly populate your project and start managing them efficiently. Follow these simple steps to upload your test cases using a CSV file.

1. Download the CSV Template

  • Go to the project where you want to import test cases.
  • Navigate to the Project Settings > Import
  • Download the provided CSV file sample to use as a template for your test case data.

Note: Only Project Administrators can access Project Settings.

Download CSV Template

2. Open the Sample CSV File

  • Locate the downloaded example.csv file on your computer.
  • Open the file to view a few sample test cases and understand the required structure for importing.
CSV template for import of Test Cases

3. Fill in the CSV File

  • Add your test cases to the file, following the provided structure.
  • Ensure the following required fields are completed:
    • Title: Enter the name of each test case.
    • Priority: Specify the importance of the test case (e.g., High, Medium, Low).
  • Once all test cases are added, save the file.

4. Upload the CSV File

  • Return to TestCaseLab and navigate to the project where the test cases will be imported.
  • Select the prepared CSV file and upload it to import your test cases into the project.
Upload a CSV file

Export Test Cases from a Project

Exporting test cases allows you to back up, share, or re-import your data efficiently. Follow these steps to download your test cases in CSV format.

1. Initiate Export

  • Navigate to the project containing the test cases you want to export.
  • Navigate to the Project Settings > Export
  • Select the Export option to start the download process.

Note: Only Project Administrators can access Project Settings.

Go to Export page

2. CSV Document Structure

The exported CSV file includes the following information:

Default Fields:

  • Title: Name of the test case.
  • Description: Detailed information (precondition) of the test case.
  • Steps: Steps to execute the test case.
  • Expected Results: Anticipated outcomes for the test case.
  • Priority: Importance level (e.g., High, Medium, Low).
  • Types: Types of test cases.
  • Key: Unique identifier for each test case.
  • Category: Hierarchical Suite path (e.g., Feature -> Sub-feature).
  • Tags: Tags assigned to the test case.
  • Created At: Date and time the test case was created.
  • Created By: User who created the test case.
  • Last Edit At: Date and time of the last edit.
  • Last Edit By: User who made the last edit.

Custom Fields:

Any additional fields configured in your project, such as:

  • Custom Text: Text fields specific to your test cases.
  • Custom Dropdown: Dropdown values defined for your project.
Example of CSV file with exported Test Cases

3. Download the File

  • Save the exported CSV file to your computer.
  • Use it for analysis, sharing with team members, or as a template for importing test cases back into TestCaseLab.

What’s Next?

Leverage the exported file for easy data management and collaboration. If you need guidance on importing test cases, check out our related articles or contact support—we’re happy to assist!