Higher order re-use

The tests can be repeated within the test suite through the creation and use of constructs of higher order that contain various test commands and at times even entire tests. This enables the tester to combine similar or equivalent user stories or use cases into a single test and provide different inputs depending upon the circumstances. Another significant advantage that test re-use offers is the overall clarity of the project. Tests if re-used have to be called from various places, thereby giving the benefits of DRY.

User keywords

As mentioned earlier, user keywords can be used to embed a part of test into a single custom keyword. These can be re-used and they can also specify arguments in their definition, which can be used ...

Get Robot Framework Test Automation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.