Forum Discussion

jose_pjoseph's avatar
jose_pjoseph
Contributor
8 years ago

Use "Last Operation Result" and "Test Parameter" in "Code Expression" mode

Can I use "Last Operation Result" in "Code Expression" mode? I would like to do something like this:

 

        Set Variable Value      Last Operation Result - 1

or:

        Log Message             "Result : " + Last Operation Result

 

Same with Test Parameter:

 

        Set Variable Value      <Test Parameter> - 1

  • I don't believe so.  Your best bet, I believe, is to apply the Last Operation Result to a variable and then use that variable in your code expression.

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    I don't believe so.  Your best bet, I believe, is to apply the Last Operation Result to a variable and then use that variable in your code expression.