Forums

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

How to use a parameter as a value of a parameter in a call test case

FNO
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!
November 9, 2022

Hello,

Hereafter is my problem:

- I create a test case (called TC1) with a parameter : myParam1

- in TC1, I defined my dataset as : myParam1 = a

- In TC1, i call another test case (called TC2) which has also a parameter defined : myParam2

So, when I call TC2 from TC1, I defined the param value as is :

- myParam2 = myParam1 (in JIRA the call is ${myParam2}=${myParam1})

The problem is JIRA interprets myParam1 as a string and not as a variable, so when I put TC1 in a test execution, in my steps, ${myParam2} = myParam1 instead of "a" 

So it seem only string can be passed as a value in the parameter of a test case call. How I can pass a parameter as a value in the parameter of a test case call ?

 

Sorry I cannot explain in details why I need to do this kind of things, but this is necessary to avoid to call TC2 in many steps for each iteration I will do in TC1.

 

Could you please help me?TC1-body.PNGTC1-param.PNGTC2-body.PNGTC2-param.PNGTestExecution.PNG

1 answer

0 votes
Bill Sheboy
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 9, 2022

Hi @FNO -- Welcome to the Atlassian Community!

What you are showing appears to be functionality from an addon/app from the marketplace, and not built-in functionality of Jira Cloud.

I suggest working with your site admin to determine which addon you are using for the test cases, and to then contact that Atlassian Marketplace vendor for support: https://marketplace.atlassian.com/

Kind regards,
Bill

FNO
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!
November 10, 2022

Hello,

OK, it's strange I though it was native from JIRA.

I will check internally.

Thanks,

FNO

Like Bill Sheboy likes this

Suggest an answer

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

Atlassian Community Events