SK2020
5 years agoOccasional Contributor
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...
- 5 years ago
Use Set Variable Value (lots of screenshots to follow)
first pick your result variable out of the list
Marsha_R_0-1608828515163.png
then Next and choose Code Expression, then select your first variable, enter a +, then select your second variable
Marsha_R_1-1608828655829.png
You will end up with this
Marsha_R_2-1608828764558.png
Click OK and then Finish and you will see this in your test
Marsha_R_3-1608828818185.png