Import and export test cases
To make the testing process easier, you can export your test cases as .tsu files, which you can import to other Tosca Cloud workspaces. By sharing test cases this way, you can improve the test creation, running and maintenance processes.
Note that you can't import from or export to Tosca on-prem. Tosca Cloud's import and export feature only supports test cases from other Tosca Cloud workspaces.
If you want to use test cases from Tosca on-prem in Tosca Cloud, check out Use uploaded tests.
Import a test case
Before importing a test case file, make sure it meets the following requirements:
|
Property |
Description |
|---|---|
|
Type |
.tsu |
|
Size |
Maximum 10 MB |
|
Content |
If the file contains screenshots or information saved as secret this will not be included in the imported test case. |
To import a test case, follow these steps:
-
Go to the
Test case page and select
Import.
-
Select the test case file.
-
Select OK.
Export a test case
To export a test case, follow these steps:
-
Go to the
Test case page and select the test case you want to export.
-
Select
Export.
-
Select the location you want to export to.
-
Select OK.
A test case file with the below properties is exported:
|
Property |
Description |
|---|---|
|
Type |
.tsu |
|
Content |
The test case file includes all the test case data except for screenshots and information saved as secret. |