Both key params are the results of some calculations made within the subtest itself. I’ve categorised them as ‘outputs’
Based on the key params from those 2 SubTest, I then make a calculation in a 3rd SubTest. proposal_calcAmount + annualManagedServiceFee_calc
Running the testcase got me this error. Requested to set the value of sub-test output parameter “proposal_calcAmount” to test parameter “proposal_calcAmount”, but “proposal_calcAmount” is never set!
When I ran the test case, and when it failed(naturally), the result I got from the 2 SubTests:
Hi @erik.yeow,
In subtest No.3, create two input parameters to receive the previous output parameters (from the main test).
You can also set an output parameter for the result for later use.
You create the params that are being supplied to Sub3inside of Sub3. Then save and exit, then return to the case, click on Sub3 again it should show you the input options for Sub3's internal use.
Then drop the variables from your case in the appropriate Sub3 inputs.
Now, Im not completely sure why this works, considering the original definition still had values when it went to SubTest 3(as the only value missing was explicitly proposal_calcAmountonly.), but I think I can put it aside for now, as the new definitions seems to work just as well.