Forum Discussion

viktor_from_ds's avatar
viktor_from_ds
New Contributor
2 years ago

How to copy Test Cases folder structure?

Hey, I've found one workaround more straightforward than to deal with API and just would like to share it, since this question resonates on the forum from time to time. So here it goes: CSV file for importing test cases can include Folder field. If the folder path from that field does not exist, Zephyr creates it. So you can create csv file (or reuse the one coming from Export of test cases) with desired folder paths and some fake test cases, which can be easily deleted after import.

Hope it helps somebody 🙂

 

 

 

  • MisterB's avatar
    MisterB
    Champion Level 3

    Hi Viktor,

     

    Great idea.  Thanks for sharing!  I can verify it works as I've used it myself (with valid tests) to create the folder structure I needed.