How do I add variables to a test in XRAY?

Daniel Cottrell June 21, 2018

We're in the process of moving our testing across to JIRA and XRAY, from HP ALM (Quality Center). We're trying to figure out how to do a number of things we do in ALM but in JIRA. We're doing manual testing, not automated. I don't know if we have access to any other JIRA software such as Bamboo / Cucumber so I'm just hoping to do this using JIRA and XRAY.

1) How do I add variables to scripts so that a fixed value appears in my scripts during execution?

2) How do I add screenshots from the clipboard directly into an execution? If we have to upload the image from the hdd it will take much longer for us to execute scripts so we're very keep to find out how to do this.

3 answers

0 votes
Andreas
Contributor
June 30, 2020

There is still the open feature ticket https://jira.xpand-it.com/browse/XRAY-1734

It should be part of the next major release.

Best regards

Andreas

0 votes
José Domingues _Xray_
Atlassian Partner
July 2, 2018

Hi CloudStrife,

1. Xray does not yet support test parameterization although we aim to address in the short term. For now, you may add the parameters in the comments section within the Test Run (in the execution screen of a given Test/Test Execution).

2. You can simply do a clipboard paste (use control+v in Windows) in the execution screen of a given Test Run

 

Best regards,

Xray Team

Daniel Cottrell September 7, 2018

I'm just glad to get a definitive answer.

We can do parameters if we can get access to Cucumber? I doubt we will get that but just asking.

Cheers.

José Domingues _Xray_
Atlassian Partner
September 14, 2018

Hi,

If you use Cucumber Scenario Outlines, you'll have a sort of test parameterization. The data, in this case, would be specified within the Examples section of the Cucumber Scenario Outline based test.

 

Best regards,

Xray Team

Like Andrew P Koops likes this
Igor Kokoz
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 11, 2020

Hi,

Is parameterization still in development?

Like # people like this
0 votes
Daniel Cottrell June 22, 2018

Didn't realize this was an answer box, please could someone delete this?

Suggest an answer

Log in or Sign up to answer