TestProject Forum

Parameter increment not reflecting in parent test

In the below picture, i am incrementing test parameter TotalAmount = TotalAmount + TrAmount
the first run it will be for example TotalAmount = 0 + 234
the second run it will be TotalAmount = 234 + 544 = 778

and so on…

At the level of the test step everything is working fine

when the test step is used in a parent test the TotalAmount = Empty

(I also tried to use TotalAmount as a project parameter instead of test parameter and it did not work)

Hi @imad.azar

In this case you should use a project parameter and not test parameter as test parameter value will be saved in current test and not other test.

Please let me know if that solved your issue.

1 Like

Hello yes thank you :slight_smile: