Context
Real Robot Framework suites rarely use just one concept at a time. They combine variables, custom keywords, arguments, and control structures to express complete workflows in a readable way.
Theory
A well-structured exercise builds a small reusable keyword first, then calls it from test cases with different inputs. Arguments make the keyword general, a loop processes collections, and [Return] passes the result back to the caller for verification.
Task
- Create a keyword Sum Numbers that accepts @{numbers}.
- Sum Numbers should use a FOR loop and Evaluate to sum all numbers, then return the result.
- Create test cases Combine Test and Combine Test Another that verify Sum Numbers.
Checks
Run your code to see terminal output.
Context
Real Robot Framework suites rarely use just one concept at a time. They combine variables, custom keywords, arguments, and control structures to express complete workflows in a readable way.
Theory
A well-structured exercise builds a small reusable keyword first, then calls it from test cases with different inputs. Arguments make the keyword general, a loop processes collections, and [Return] passes the result back to the caller for verification.
Task
- Create a keyword Sum Numbers that accepts @{numbers}.
- Sum Numbers should use a FOR loop and Evaluate to sum all numbers, then return the result.
- Create test cases Combine Test and Combine Test Another that verify Sum Numbers.