Hi guys,
I am a software developer at Deutsche Telekom AG and we use the xRay plugin in our team for our test automation and test management. Unfortunately, I noticed one thing that I can't explain at the moment.
But first of all, our procedure:
Now we come to the issue that I cannot explain:
In the testplan you can see that the last status of some tests is "FAIL". When these tests are now opened, it can be seen that the last status of the execution is "PASS". On the testplan level, therefore, the most recent status is not displayed, but an incorrect status. On the screenshot you can see that the test case "WITAART-8501" has the status "FAIL" according to the testplan. As soon as it is expanded, you can see that the last execution status is "PASS".
I have already been able to observe this latency in one or two other test cases, but without any pattern, it seems that a wrong execution status is displayed in the test plan completely randomly.
Any ideas how we can solve this problem?
Hi @[deleted]
Do you, by chance, use Test Environments?
If you do, then it should be related to that since Environments affect the calculation of the status.
And how do they affect the calculation?
The basic rule is that the Test only PASS if it has PASS in all environments. If you use at least one Environment, the Executions will be grouped by Environment and evaluated within the same Environment. For instance, if you have an execution in an Environment AAA, and it has failed, the final Test status will be FAIL, since, in environment AAA, it is FAIL, no matter if you have other Environments where it has PASS because it needs to PASS in all Environments.
Please check this documentation page (https://docs.getxray.app/display/XRAY/Working+with+Test+Environments) with additional details and examples on how the environments work with the calculation of the Status.
Any additional questions, please get in touch with Xray Support (http://xraysupport.getxray.app); we would gladly assist you.
Thank you.
Kind regards,
Rogério Paiva [Xray Support Team]
Thank you, that is the solution!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi , I was facing the same above problem having incorrect status of test under same test plan for different executions. After looking at this solution , we have stated creating the test environments while creating test executions, but the test environments what we are created are not reflecting as in the blow screen
As the test environment is not reflecting on execution level, it's not reflecting on the test plan level as well. Hence showing incorrect status....Please help us if we are missing something . Thanks in Advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.