2025-03-04 –, RoboCon Online
What are Templates in Robot Framework? When and how to use them?
Discover the potential of Templates, their pros and cons, good and bad practices, and make the most of them in your tests!
Whether you have never heard of Templates, or are already familiar with the basic concept and want to learn more, this tutorial is for you.
The tutorial will provide an overview from the basic concept to various ways Templates can be used in Data-Driven tests. Tips and good practices for writing clean Templated test cases will also be covered.
data-driven, templates
Lessons Learned:The audience will learn about the capabilities of Templates in Robot Framework, when to use them, what to consider when working with Templates, good and bad practices.
PART I
- Concept of Data-Driven tests
- What is a Template in Robot Framework
- Basic use
- Template types
- Template from a builtin or a user Keyword
- Template from the custom library
- Template with embedded arguments
PART II
- Different ways to use Templates
* Common Template for all tests in a Test Suite
* Different Template for different tests in a Test Suite
* Templated and "normal" test cases together
* Overriding Templates
PART III
- Templated test cases with loops
- Templates and the DataDriver Library
PART IV
- Different styles and formatting for the Templated test cases
* Single- and individually-named test cases
* Single vs multiple Templated tests in the same file
* Titled vs untitled test data
* Setting Tags and Documentation in Templated test cases
- Invalid formatting - what to watch out
- Good practices when writing Templated test cases
The tutorial is suitable for beginners, and for anyone who is interested in learning beyond the basic use of Templates.
Is this suitable for ..?:Beginner RF User, Intermediate RF User
Manana Koberidze is a Senior Quality Engineer at SSH Communications Security Oy, Finland. She has spent the last seven years in quality assurance within the healthcare tech and cybersecurity industries. Her area of expertise includes manual testing, automated testing (largely using Robot Framework), test management, and the design and development of CI/CD pipelines.
She is committed to adopting and promoting efficient and effective approaches in test development, while maintaining good practices and clean coding standards.
Believing that knowledge thrives when shared, she looks forward to presenting the tutorial on Robot Framework Templates at Robocon2025.