(DV-2208) Export/Import test cases
Although the transport of Test Cases exists, it has one flaw. When you try to transport test cases or folders with test cases on the system with the same name (e.q NSD to NSD) and test cases under the same name or ID already exist on the receiving system, they will be overwritten. Export and import solve these problems. When you choose to Export test case or folder, it will download test cases locally as a .zip folder. You can then use Import function on another system, which will read exported zip, and save test cases with new external IDs and names.
Following test case types are supported by Export:
- Manual
- Query
- Drill Down
- ListCube
- DTP
- ERP Report
- Table
- SLO ListCube
- ERP Table
Exporting
You can either export the whole folder or a single test case. It is done by selecting the folder/case in the context menu and choosing the option "Export".
After that, you will be prompted to enter the folder in which you want to save the .zip file. You can fill out the name but don't choose another file type.
If you see a message like XXXX bytes were transferred, save was successful and .zip should appear in your chosen folder.
Importing
If you wish to import a .zip file on another system, navigate into the Extras and then Import cases ZIP in the very top menu of SNP Validate.
You will be prompted to choose the file by a similar screen to the one where you were saving the .zip file. Navigate to the file and double-click on it. If the import was successful, you should see a message like ZIP files imported successfully.
A folder like this one will be created in your SNP Validate Test Management:
The first three letters identify the system, from which was export done. Then there is Exported + date and time when the file was exported. The technical name of the folder is IMP as import and timestamp of when the import was done.