The training is divided into 3 days. This comprehensive training plan ensures participants gain a strong foundation in Robot Framework, advanced skills in keyword design and variable management, and expertise in execution management and control structures:
Day 1: Foundations of Robot Framework
- Introduction to Robot Framework
- Overview of Robot Framework’s architecture and use cases.
- Installation and prerequisites for running Robot Framework.
- Exploring Online Resources
- Familiarization with official documentation, forums, and community channels.
- Learning about conferences and video materials for further learning.
- Understanding gTAA and Robot Framework Architecture
- Layers of the Generic Test Automation Architecture (gTAA) and their components in Robot Framework.
- Identifying what is part of Robot Framework and what is not.
- Think First, Code Later
- Exploring the system under test and identifying gTAA layers.
- Discussing the components of Robot Framework and their roles in test automation.
- Basic Syntax and Structure
- Key attributes of Robot Framework syntax and structure.
- Writing and organizing test cases, tasks, and suites.
- Writing First Test Cases and Tasks
- Hands-on practice creating and executing test cases and tasks.
- Experimenting with indentation, separation, and escaping control characters.
- Specification Styles and Licensing
- Understanding specification styles and the licensing model of Robot Framework.
- Suite Structure and Execution
- Structuring test suites effectively and interpreting execution results.
- Libraries and Resources
- Using libraries and resource files to enhance test automation.
- Practice and Hands-On Exercises
- Applying knowledge through practical exercises and experiments.
Day 2: Advanced Keyword Design and Variables
- Keywords and Reusability
- Understanding keyword structure, documentation, and settings.
- Advanced concepts like embedded arguments and argument conversions.
- Deep Dive into Keywords
- Creating and accessing keyword documentation.
- Exploring different types of arguments and their usage.
- Understanding and Using Variables
- Scalar, list, dictionary, and environmental variables.
- Methods to create variables and assign values.
- Variables Scope and Built-in Variables
- Exploring variable scopes: global, suite, test/task, and local.
- Built-in variables and their use cases.
- Resource Files and Structuring
- Sharing keywords and variables using resource files.
- Strategies for resolving naming conflicts and managing dependencies.
- Practice and Hands-On Exercises
- Structuring test automation with resource files for better organization and reusability.
Day 3: Execution Management and Advanced Constructs
- Setups and Teardowns
- Purpose and benefits of setups and teardowns.
- Different levels: suite, test/task, and keyword.
- Execution order and syntax.
- Initialization Files
- Purpose and structure of initialization files (
__init__.robot
). - Managing suite-level settings and default configurations.
- Purpose and structure of initialization files (
- Tags and Filtering Execution
- Classifying and managing tests/tasks using tags.
- Filtering execution with CLI options and reserved tags.
- Control Structures
- Conditional execution with IF/ELSE statements.
- FOR loops and their variants: FOR-IN, FOR-IN-RANGE, FOR-IN-ENUMERATE, and FOR-IN-ZIP.
- WHILE loops for indefinite repetition with condition-based execution.
- BREAK and CONTINUE statements for loop control.
- Final Q&A and Review
- Open session for questions, clarifications, and review of key concepts.
All training materials are related to official RFCP Syllabus and the coverage information is provided below: