Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Robot Framework Test Automation

You're reading from   Robot Framework Test Automation Create test suites and automated acceptance tests from scratch

Arrow left icon
Product type Paperback
Published in Oct 2013
Publisher Packt
ISBN-13 9781783283033
Length 98 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Sumit Bisht Sumit Bisht
Author Profile Icon Sumit Bisht
Sumit Bisht
Arrow right icon
View More author details
Toc

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 to pass on test data parameters by the callers of these tests.

Test templates

Test templates are used to create components within a test that can accept different parameters at runtime. This is different from user keywords as the user keywords have to...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image