Context
A Robot Framework suite is a plain-text file divided into sections. The *** Test Cases *** section contains the executable steps. Each test is just a name followed by indented keyword calls. This structure keeps automation readable both for humans and for the framework parser.
Theory
A test case is a named sequence of keyword calls. The Log keyword writes a message to the execution log, which is useful for debugging and tracing what happened during a run. Every keyword call is written on its own line and indented with spaces below the test-case name.
Task
- Create a section called *** Test Cases ***.
- Add a test case named Hello World.
- Use the Log keyword to print: Hello, world!
Checks
Run your code to see terminal output.
Context
A Robot Framework suite is a plain-text file divided into sections. The *** Test Cases *** section contains the executable steps. Each test is just a name followed by indented keyword calls. This structure keeps automation readable both for humans and for the framework parser.
Theory
A test case is a named sequence of keyword calls. The Log keyword writes a message to the execution log, which is useful for debugging and tracing what happened during a run. Every keyword call is written on its own line and indented with spaces below the test-case name.
Task
- Create a section called *** Test Cases ***.
- Add a test case named Hello World.
- Use the Log keyword to print: Hello, world!