Forum Discussion

SK2020's avatar
SK2020
Occasional Contributor
4 years ago

mathematical operations with variables in KeywordTesting

Hi, In my project I need to subtract two values to compare with another value. My problem is how to subtract two values (or add, or any other simple mathematic function) I have created two variabl...
  • Marsha_R's avatar
    4 years ago

    Use Set Variable Value (lots of screenshots to follow)

     

    first pick your result variable out of the list

     

     

    then Next and choose Code Expression, then select your first variable, enter a +, then select your second variable

     

     

    You will end up with this

     

    Click OK and then Finish and you will see this in your test