Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

xRay: When creating a test execution from a test plan, the tests are not created inside it

Hello,

 

We're using Jira server on-premises with xRay. I created a test plan and a test execution from the test plan (in several ways). However, the test execution is always created empty and I need to re-add tests to it.

Is it a bug or some configuration issues?

 

Thank you

2 answers

1 accepted

0 votes
Answer accepted
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 14, 2022 • edited

Hi @Anna Lucovsky and welcome to the community,

for gaining better insights of your problem could you please provide following screenshots:

  • your testplan (with the test cases)
  • the setting/configuration screen when you create the test execution
  • the test execution issue after creation

 

Thanks in advance.

Best
Stefan

Hi @Stefan Salzl ,

 

Thank you! Please see the screenshots attached.

Test Plan:

Test Plan.png

Create Test Execution (All Tests):

Config Screen.png

Config Screen2.png

Test Execution:

Test Execution.png

Best,

 

Anna

Like Stefan Salzl likes this
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 15, 2022

Thank you very much @Anna Lucovsky 

There should be a setting when clicking the "create execution" button regarding which tests you want to have in the new test execution (all, only a certain test status,....)

 

  • So when you click "create execution" do you see something similar to this:

image.png

  • and if so: which option did you chose?

 

Thanks in advance.

 

Best
Stefan

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 15, 2022

Hi @Anna Lucovsky ,
Please ignore my last answer. I just saw that you mentioned the "all tests" in the first screenshot.

Sorry for the confusion.

 

Best
Stefan

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 15, 2022

Hi @Anna Lucovsky ,

From your screenshot everything looks fine (unless that there are no tests listed during creating the execution).

 

Did this work in the past and is now a new behaviour?
What came to my mind is that there could be a correlation with permissions/statuses. There is a special setting for allowing executions of tests in certain statuses or with certain assignees (see link below):

https://docs.getxray.app/display/ProductKB/%5BXray+Server%5D+No+permissions+to+execute+Test+Executions

 

Could you please check those settings?

 

Best
Stefan

Hi @Stefan Salzl ,

 

We've just implemented xRay, so it's our first time trying.

 

Best,

Anna

Like Stefan Salzl likes this
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 15, 2022

Hi @Anna Lucovsky ,

I see :) Sure will find a solution to this ;)

 

There is one thing in your first screenshot that kinda confuses me:

It shows one testcase in the list that says passed but the overall execution doesn´t show any passed part but all 81 testcases in "to do". Could you please who the whole testplan issue (including the list of tests).

 

Furthermore could you check if you are allowed to edit the testplan issue?

 

Best
Stefan

Hi @Stefan Salzl ,

 

Please see the test plan. There's one execution we've attached (and added tests there separately), which has one passed tests, just to see the results.

Tests.png

Execs.png

 

Best,

 

Anna

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 15, 2022

Hi @Anna Lucovsky ,
did you try to let any other user perform the action of creating the test execution out of the test plan? eg. any user that is an assignee of any of the test cases (eg. Michal Thal as seen in the screenshot) ?

Best
Stefan

Hi @Stefan Salzl ,

 

I performed such a test - created a Test Plan assigned to me containing tests assigned to me - still the same result with the execution.

 

Best,

 

Anna

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 15, 2022

Hi @Anna Lucovsky 

one last question that comes to my mind:

Do you have permission to edit issues (test plan issues) ? (there is a difference in permissions between create issue and edit issue)

 

In case you have full permission and it still doesn´t work my knowledge and focused questions come to an end =S and in this case I would rather suggest to contact xRay support.

Best

Stefan

Like Anna Lucovsky likes this
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 15, 2022

@Anna Lucovsky 

BTW: in case you contact the support team and you get provided a solution I would appreciate if you could share the solution here as I could also learn from that :)

Best
Stefan

Like Anna Lucovsky likes this

@Stefan Salzl Of course, I'll share it if I get one.

Like Stefan Salzl likes this

Was there a solution for this?

Is it related to the screens used for test plan or test execution?

It was related to both test plan and test execution, but at some point, it started working. Some admin action caused the fix, we don't know which one.

1 vote
Mohan
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!
Oct 06, 2023

Hi All, 

Please follow the following steps-

  1. Goto settings
  2. Create new screen or configure existing screen.
  3. Add the field " Test association with test execution".s1.png
  4. Make sure you have added above screen, into screen scheme and used in project. Also make sure you have added into the issue type screen scheme.

If you have followed all the above steps then I hope you can see the test cases from test plan into test execution. 

But I am unable to create the linkage between test plan and test execution automatically even after getting all the linked test cases of test plan in test execution.

Suggest an answer

Log in or Sign up to answer