A new documentation is available for Squash TM 2.0 and later versions, check it here
Squash TM enables you to export test cases in .xls or .csv format.
Test cases are exported from the selected tree structure level (project, folder, sub-folder or test case).
Prerequisite: A project has been created, it contains test cases.
1. Select the test cases or the targeted branch in the tree structure, then click on [Import/Export]. Click on the link Export... in the drop down menu:
2. A pop-up window « Export » opens up. This pop-up window enables you to rename the export file and to check the export format (csv or xls). The file name by default is « export_test-case_date» (The date format is YYYY/MM/DD).
You may choose to directly open the file (to the chosen format), or to save the export in the configured downloading file.
Note : It is possible to include the called Test Cases in the export by ticking the box "Include called test cases", which is always unticked by default.
It is possible as well to choose whether you want to export fields of "rich text" with their HTML tags (to preserve the formatting in a future import) or not. To export in HTML format, you need to tick "Keep rich text format", which is unticked by default.
Note: The test steps of the BDD test cases are not managed by the .csv and .xls exports.
3. Click on [Export] to validate the export (or [Cancel] to cancel it).
Data of the chosen test case(s) are exported according to selected format.
According to test case's content, the export file contains 4 tabs:
test case attributes
test steps
parameters (only in excel format)
datasets (only in excel format)
As opposed to import files, export files do not contain any ACTION column.
(more details of this content in 4.10 - Import Test case)
Squash enables you to export the Gherkin test cases in a .feature format toward .zip files. This is the format Cucumber needs to execute Gherkin test cases.
The test cases are exported directly from the tree structure node you selected (from a project, a folder, a subfolder or a test case).
Prerequisite: Having a project which contains Gherkin test cases that were created at the very beginning of a project, or within a more complex tree structure (folders and subfolders)
Select the Gherkin test cases or the tree structure you wish to work on, click on [Import/Export] and select Export Gherkin Features... in the dropdown menu
A pop-up window "Export" shows up. This window enables you to rename the .zip file that will be created. The default name of the file is "export-test-case_YYYYMMDD_hhmmss
Click on [Export] to confirm the export, or [Cancel] to cancel the operation
FOCUS
This export does not keep the tree structure of the Squash TM folder. All Gherkin test cases are exported at the root of the .zip file into .feature format. They follow the naming rule "tc_<test_case_id>" to avoid any conflicts regarding file names, or any risks regarding invalid file names.
Squash enables you to export the BDD test cases in a .feature or .robot format toward .zip files. This is the format Cucumber and Robot Framework need to execute test cases.
Prerequisite: Having one or several project(s) which contains BDD test cases
Select the BDD test cases or projects/folders that contain BDD test cases
Click on [Import/Export] and select "Export BDD scripts..." in the drop-down menu
A pop-up window "Export" shows up. This pop-up offers you to rename the .zip file that will be created.The default file name is "export-cas-detest_YYYYMMDD-hhmmss"
Click on [Export] to export