Forum Discussion

phanikumar's avatar
phanikumar
Occasional Contributor
11 months ago

Test cases from one project to another Project

Hi,

I want to copy test cases from one project to another project,which is best way to do?

If I do export through XML method and Import the test cases from one project to another project,folders structure is also getting copied and where I don't want the folder structure to be copied,so how can I copy a test case in XML without folder structure. XLs/CSV method wont work here as we need to copy along with screenshots and images in the test cases.

Another query is I want to create a central repository in Zephyr Scale where all the standard test cases of the features should be in place and want to pull those test cases into different projects when ever required and not into test cycles ,want to pull those standard test cases alone and also I want those test cases to be executed individually with out any traceability Jira issue.so how can we do that.

Please help me with the above queries.

Thankyou!!

  • MisterB's avatar
    MisterB
    Champion Level 3

    Hi,

    You can copy test cases from Project A to Project B by going into a Project B test cycle, and selecting test cases from Project A.  Something to note is that the test cases will remain in Project A - they won't 'move' into Project B, and you may find that amending the test case in Project A will prompt a warning in Project B that the test case has changed (and can be updated).

    Alternatively, you could do what you're already doing (export/import the test cases) but remove the folder data which I assume you could do by removing that string with a word editor via Find/Replace.

    Your second question is almost answered by my first suggestion above - you can reference a master/central project of test cases, but they can only be referenced in test cycles which you said you don't want to happen.

  • phanikumar's avatar
    phanikumar
    Occasional Contributor

    Hi,

    May be I should have also mentioned that I dont want to create a test cycle.

    I want to copy test cases from Project A test Cases to Project B test cases and not to test cycles. In Project B the test cases which are moved may undergo some amendments.

    And also these test cases should be executed individually means single test case execution.

    So with out having an Jira Issue how can we execute a test case ?

    Please let me know