ivan_sy
13 years agoContributor
Is there a way to do Checkpoint based on the Last Operation Result?
I have a keyword test of our application "Adding attachments"
the expected result is that the value of the string "Total: X" (where X is a numeric character) will get incremented by the number of attachments that was successfully uploaded. There’s a data-driven loop and a variable that gets ++ every time it loops , which at the end of the loop results to the total successful attachments. The keyword test can do this (not a problem)
However, i have to feed the Strings "Total:10" and "Total: 15" (say five were attached from an existing 10 attachments) to a script. That script does the screening (stringtoInt and does the arithmetic) and returns (Int) the difference which is 5
How can I can create a checkpoint that will compare the last operation result against a variable value?