I am evaluating Xray (I first tried on Jira Cloud and I will now try on Jira Server).
I have tests linked to user stories (themselves linked to requirements). I would like to be able to reuse my tests several times in a same test plan/test execution. I didn't find a way to reuse them without cloning them as Xray doesn't allow to add 2 times the same test in a test plan/test execution. The test set doesn't help me on this as I can't add 2 times the same test set in a test plan/test execution. Cloning the tests is not a solution because of maintenance problems (if a test step changes, I have to update all the clones of this test).
I would like to know if I am the only one to have this need. In QMetry they allow to add several times the same test case in a test scenario. So I guess I'm not the only one to use this. Does anyone have a workaround for this in Xray?
Thank you in advance for your answer.
Asking exactly the same question... I don't think you can create composition/aggregation of tests to create/compose your functionnal test. So the only way I see is to create only high level tests and copy/paste all common steps ? Cloning tests would help but it's not ideal....
Hi Yann. Thank you for your answer and your advise!
Your solution is for sure interesting but in my case it's more complicated.
I could have high level tests but I work in health domain and I need to prove that the application is deeply tested. I'm not fan of copy/paste steps because of maintenance reason (if one step changes you have to change it several times not knowing exactly all the places where it appears).
My tests are detailed enough to permit a new tester to execute the tests without knowledge of the application. I have automated tests that correspond to those manual tests and they execute all those steps with as much verifications as in the manual tests. The details also allow other persons of the company to know exactly what is tested without reading the code of the related automated tests.
I have contacted the support of Xray (Xpand-IT). They are really responsive and they seem interested in this feature. Hopefully they could maybe decide to improve Xray with a solution for that (being able to reuse tests in test set/test plan/test execution).
Thanks again for your help and interest.
for exactly which purpose you would reuse test cases. If one of below steps;
-in different environment
-in varios release
-long story short in different jira fields whatever you desired to test
I could advise you, changing proper field in Test Execution and/or Test Plan could be worked, without switching default fields value of test.
I hope, It would work or give you at least an idea.
Let me detail my case:
a- 5 Test Scenarios to execute: S1, S2, S3, S4 and S5
b- 3 Customers: C1, C2, C3
c- I should execute the 5 test scenarios for the 3 customers every month
So I create:
d- 1 Test Plan per month: Test Plan - April
e- 1 Test Set with the 5 Scenarios: Test Set - NRT Scenarios
f- 1 Test Execution per customers with the 5 Scenarios:
f1 - TE1 - Customer 1 (S1, S2, S3, S4 and S5)
f2 - TE2 - Customer 2 (S1, S2, S3, S4 and S5 )
f3 - TE3 - Customer 3 (S1, S2, S3, S4 and S5 )
g- I have included TE1, TE2 and TE3 in Test Plan - April
For the next months, should I create again 3 test executions or is there a way to clone or duplicate test execution ?
Thanks for your help
is it really required to run the test cases within the same test execution? You can clone the test execution, which will reset the execution status of the test cases in the cloned test execution and preserve the link of the tests to the test plan and the user stories.
Hi I am also struggling with the same issue. I have many E2E tests which will have sequence of test A, B, C, A, D, A, E (some are same test I need call to fulfill E2E testing); not able to add. If clone the same test that worst solution. Please assist.
I tried creation of test executions and test set but in both got same issue.
If I clone the same test, customer will laugh at me for suggesting this kind of too.
I am clear, I am not going to suggest anyone to use JIra Xrey as test management solutions. I never saw such worst and immature test solution.
@Ahmet KILIC , Michael Reimann, Sorry I only see your answers now.
The purpose of reusing a test in a test execution is because of the following.
We have a lot of test automation and those tests have them results imported automatically in Jira. In test automation, we write functions to do actions in an application. For example, if in the application you have to do several actions to get into a screen, we have a function to do it. This function is called in a lot of tests and sometimes several times in the same test. And a test is made of a lot of different functions calls.
The purpose would be to have the same functionality in Jira/Xray. If you can make a test scenario (not existing in Xray but well in QMetry), you could add in your test scenario the call of the different tests (equivalent of the functions in the test automation).And you could call a test (function) several times in the same test scenario.
So if in test automation we have :
In Jira/Xray we could have something like:
And in one test execution we could execute test scenario 1 and test scenario 2. If one test (function) of a test scenario is in failed, the test scenario is in failed.
I don't think this is feasible right now with Xray.
If someone has suggestion, I would be grateful. I'm not going to answer with this user anymore because I'm leaving the company I'm working for in a few days. But I will continue to have a look at this question/answer since I will be interested for my next job too.
Thank you in advance.
Have you found a solution yet ? Here is my scenario similar to yours ?
Is it possible to execute the same test case with a different Test Environment X number of times and save the execution info independently.
I have TC-1, in the first execution I select Test Env as: OS: Windows, Version:10
Next Execution of the same TC-1 I change the Test Env to: OS: Unix V: Debian
In the reports I want to see the executions of TC-1 with the different environments, meaning test execution report shows TC1 executed twice.
Is that possible?
It is possible to execute the same Test inside the same Test Plan using another Test Execution with a different Test Environment.
If you need further help, please contact the Xray Support (http://xraysupport.xpand-it.com) so that we can request additional information and investigate further.
Rogério Paiva [Xray Support Team]
Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event