XRAY Test Execution Status with custom statuses

Leandro Malesd November 11, 2020

Hi Community,

 

in XRAY I have

  • created a custom final TEST STATUS, named BLOCKED
  • created a TEST STEP final status named BLOCKED
  • associated the custome TEST STEP named BLOCK with the custom TEST STATUS named BLOCKED.

See images bleows.

While exceuting a 3-step test, the STEP STATUSES were:

  • STEP 1: STATUS: PASS
  • STEP 2: STATUS: FAI
  • STEP 3: STATUS: BLOCKED

So I would expect that the TEST EXECUTION result is BLOCKED, while XRAY shows FAIL.

See image below.

 

Why ? What's worong ?

 

Thank you in advance.

 

 

test status.pngTest step status.pngtest execution.png

3 answers

1 accepted

0 votes
Answer accepted
Sergio Freire - Xblend
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 12, 2020

Hi @Leandro Malesd 

 

Here you can find the rules for computing the overall status of a Test Run based on step-level results.

So, in your case it is getting failed because you have one step marked with FAIL.

 

1.png

0 votes
Álvaro Tejada
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 13, 2024

Good afternoon, we are having this problem today, we want to add custom statuses to the test steps but we do not see the "Test Statuses" or "Test step statuses" options, with an administrator account. We use Jira Cloud and we did not find answers to this problem, thanks in advance

0 votes
Deleted user August 16, 2021

You have Cloud tagged in this but can the cloud version create new test and test step statuses?  

Rogério Paiva - Xray Xporter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 6, 2021

Hi @[deleted] 

Yes, Xray Cloud has the same feature.

You need to go into the Global Settings of Jira in the Apps settings:

https://docs.getxray.app/display/XRAYCLOUD/Global+Settings%3A+Test+Statuses

https://docs.getxray.app/display/XRAYCLOUD/Global+Settings%3A+Test+Step+Statuses

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]

Like Radhika Singiri likes this

Suggest an answer

Log in or Sign up to answer