Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Xray Tests - Parameters and code snippets

Charlie Craft
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!
January 24, 2024

Hi,

A lot of our test steps contain code snippets, as this is the best format for copy and pasting to run command line.

I'd like to parameterise a number of commands, things such as domains, users, passwords spring to mind.

However, using a ${parameter} inside a "code snippet" does not resolve. Is there anyway around this?

Is there anyway to format the text such that is presents and copies (i.e. with line endings) like a "code snippet" when it isn't.

Thanks.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events