Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Xray How can we add same testcase multiple times to one Testplan?

Anne Hietala
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2023

We have  testsets, that includes same testcase multiple times. For example Testset1 includes: Testcase1, Testcase2, Testcase3. Then Testset2 includes: Testcase1, Testcase 4, Testcase5. Then Testset3 includes: Testcase1, Testcase 2, Testcase6. 

Those Testsets are ok. Problem is Testplan that has has folders for each TestSets. Folder1 will includes Testset1 tests, Folder2 will includes Testset2 etc. Now when adding Testset2 cases to Folder2, Testcase1 will remove from Folder1. That is very big problem to us to manage to big test processes. Because those same testcases should be run with different situations. 

How we can get same testcase multiple time to one Testplan? We cannot clone those cases, because, if there come updates to testcase.... How can we update cloned testcases? Because we have lot of testcases that should exist in several testsets and testplans folder.

 

 

1 answer

1 vote
Stefan Salzl
Community Champion
March 27, 2023

Hi @Anne Hietala - welcome to the community

in fact it´s not possible at all as the test plan is for planning container of your "test phase" (kind of). So it lists all test cases (which are let´s say "templates" for executions) that will/were run within this planned phase. Furthermore I would recommend to organize your testcases in test sets. The same test case can be used in several test sets.

The execution itself will be planned/scheduled/tracked via test executions. You could also create executions out of a test set (as mentioned before - a collection of test cases). eg. you could create a test set for a special requirement, add some tests to it and then create a test execution for this. Within the test execution issue there are "test RUNs" which are "executed instances" of your test case (which as mentioned is only the boilerplate).

So within the test plan each test case is only listed once but might be executed several times via different executions.

To get a deeper understanding of the setup I highly reccomend to go through those documentation pages:
https://docs.getxray.app/display/XRAYCLOUD/Terms+and+Concepts
https://docs.getxray.app/display/XRAYCLOUD/Organizing+Tests
https://docs.getxray.app/display/XRAYCLOUD/Planning+Tests

Hope this was helpful.

Best
Stefan

Stefan Salzl
Community Champion
January 23, 2025

@Anne Hietala could your problem

be solved? did the provided answer give you a solution or at least a better understanding of the situation?

Please consider to hit the „Accept answer“ button in order to mark this question as solved and keep the community clean.

Best
Stefan

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events