Parameters in sub-TestCases

Tuesday, March 9, 2021


We have a TestCaseLvl1 calling a TestCaseLvl2 calling multiple times a TestCaseLvl3, which has a Parameter (e.g. ${TCL3_parameter}).

The problem is: from TCLvl1 point of view, we cannot execute TCLvl3 with different parameters:

  • either we do nothing, and TCLvl1 knows ${TCL3_parameter}, but if we fill it here, it will be the same for every TCLvl3 called.
  • or we use TCLvl2 to call TCLvl3 with different names, e.g. ${TCL3_parameter} = ${1stCallValue},  and later ${TCL3_parameter} = ${2ndCallValue};
    then in TCLvl1 we fill ${1stCallValue}=Value1 and ${2ndCallValue}=Value2.
    But in this case, TCLvl3 does NOT display Value1 but ${1stCallValue}, as if it had taken it as a string, and not as a reference.

This is a big problem for us because we have either to sacrifice test case usage or maintenability.

Is there a way to fill a parameter with a parameter, or to execute sub-testcases with different parameters values ?



2 Replies
Tuesday, March 9, 2021
re: ATro_Desoutter Tuesday, March 9, 2021
Wednesday, March 10, 2021
re: inflectra.david Tuesday, March 9, 2021


I looked at your links, but:

-we don't have SpiraPlan

-Test Sets seem (according to doc) to set 1 value to each same-named parameter.


What i need is the contrary: i call many times the same test SetNewWifiSecurity, therefore with the same named parameter ${security}; I would like to fill differently this ${security} parameter : WPA2, LEAP, PEAP...
This seems to be doable only at calling level (N+1), and NOT above (N+2). 


  • Started: Tuesday, March 9, 2021
  • Last Reply: Wednesday, March 10, 2021
  • Replies: 2
  • Views: 139