---
title: 'Robot Framework Tutorial for Web Testing: Free Online Course'
description: 'A free, hands-on Robot Framework tutorial: keyword-driven tests with
  SeleniumLibrary and the Browser library, resource files, data-driven templates,
  tags, parallel runs with Pabot, reports and CI, all on a cloud grid.'
source_url:
  html: https://testingbot.com/resources/courses/robot-framework
  md: https://testingbot.com/resources/courses/robot-framework.md
---

Course

[Robot Framework Tutorial for Web Testing](https://testingbot.com/resources/courses/robot-framework)

Chapter 1 of 10

1. [1 Robot Framework Tutorial for Beginners](https://testingbot.com/resources/courses/robot-framework)
2. [2 Install Robot Framework in a Python virtual environment](https://testingbot.com/resources/courses/robot-framework/install-robot-framework)
3. [3 Your first Robot Framework test with SeleniumLibrary](https://testingbot.com/resources/courses/robot-framework/first-test-with-seleniumlibrary)
4. [4 Variables, resource files and user keywords](https://testingbot.com/resources/courses/robot-framework/variables-resources-and-keywords)
5. [5 Run Robot Framework tests on TestingBot](https://testingbot.com/resources/courses/robot-framework/run-robot-framework-on-testingbot)
6. [6 Robot Framework Browser library: Playwright on TestingBot](https://testingbot.com/resources/courses/robot-framework/browser-library-playwright)
7. [7 Data-driven tests with Robot Framework templates](https://testingbot.com/resources/courses/robot-framework/data-driven-tests-with-templates)
8. [8 Tags and parallel test runs with Pabot](https://testingbot.com/resources/courses/robot-framework/tags-and-parallel-runs-with-pabot)
9. [9 Robot Framework reports, CI and test status on TestingBot](https://testingbot.com/resources/courses/robot-framework/reports-ci-and-test-status)
10. [10 Knowledge check](https://testingbot.com/resources/courses/robot-framework/knowledge-check)

[Exit course](https://testingbot.com/resources/courses)

 Chapter 1 of 10 Beginner 6 min read 1 quick check Updated Nov 2026 

# Robot Framework Tutorial for Beginners

A free, hands-on Robot Framework tutorial: keyword-driven tests with SeleniumLibrary and the Browser library, resource files, data-driven templates, tags, parallel runs with Pabot, reports and CI, all on a cloud grid.

## What you will learn

1. Robot Framework Tutorial for Beginners
2. [Install Robot Framework in a Python virtual environment](https://testingbot.com/resources/courses/robot-framework/install-robot-framework)
3. [Your first Robot Framework test with SeleniumLibrary](https://testingbot.com/resources/courses/robot-framework/first-test-with-seleniumlibrary)
4. [Variables, resource files and user keywords](https://testingbot.com/resources/courses/robot-framework/variables-resources-and-keywords)
5. [Run Robot Framework tests on TestingBot](https://testingbot.com/resources/courses/robot-framework/run-robot-framework-on-testingbot)
6. [Robot Framework Browser library: Playwright on TestingBot](https://testingbot.com/resources/courses/robot-framework/browser-library-playwright)
7. [Data-driven tests with Robot Framework templates](https://testingbot.com/resources/courses/robot-framework/data-driven-tests-with-templates)
8. [Tags and parallel test runs with Pabot](https://testingbot.com/resources/courses/robot-framework/tags-and-parallel-runs-with-pabot)
9. [Robot Framework reports, CI and test status on TestingBot](https://testingbot.com/resources/courses/robot-framework/reports-ci-and-test-status)
10. [Knowledge check](https://testingbot.com/resources/courses/robot-framework/knowledge-check)

[Continue where you left off](https://testingbot.com#)

## TestingBot Robot Framework Certification

Turn this course into a free, resume-worthy credential: pass the exam, run the course suite on TestingBot, and get a verifiable certificate for your LinkedIn profile.

[How it works](https://testingbot.com/resources/courses/robot-framework/certification)On this page
1. [What Robot Framework is](https://testingbot.com#what-robot-framework-is)
2. [The pieces you will use](https://testingbot.com#the-pieces-you-will-use)
3. [When Robot Framework fits, and when it does not](https://testingbot.com#when-robot-framework-fits-and-when-it-does-not)
4. [SeleniumLibrary or Browser library?](https://testingbot.com#seleniumlibrary-or-browser-library)
5. [What you'll build](https://testingbot.com#what-you-ll-build)
6. [Prerequisites](https://testingbot.com#prerequisites)

_Last reviewed November 2026 against Robot Framework 7.5.1, SeleniumLibrary 6.9.0, Browser library 21.0.0, Pabot 5.2.2 and Python 3.13._

This course builds a small browser test suite with Robot Framework, from an empty folder to a suite that runs in parallel on a cloud grid and in CI. Every example was run: first against local Chrome and Firefox, then on the TestingBot grid on Chrome, Edge, Firefox and Safari.

## What Robot Framework is[#](https://testingbot.com#what-robot-framework-is)

Robot Framework is an open-source test automation framework written in Python and released under the Apache 2.0 licence. It started at Nokia Networks and is now maintained with the support of the Robot Framework Foundation. It is used for acceptance testing and robotic process automation, and for web testing in particular it is one of the most widely used tools outside the JavaScript world.

Its defining idea is that **tests are made of keywords**. A keyword is a named step, like `Open Browser`, `Input Text` or `Title Should Be`. Some keywords come from libraries written in Python; others you write yourself by combining existing keywords. A test case is a list of keyword calls with their arguments:

```robotframework
***Test Cases***
Submit The Web Form
    Open Browser https://www.selenium.dev/selenium/web/web-form.html chrome
    Title Should Be Web form
    Input Text id:my-text-id Robot Framework
    Click Button css:button[type=submit]
    Wait Until Page Contains Received!
    [Teardown] Close Browser
```

There is no `def`, no braces and no `assert`. Cells are separated by **two or more spaces** (four is the convention), which is why `Open Browser` is one keyword name and the URL after it is an argument. That single rule explains most beginner syntax errors.

## The pieces you will use[#](https://testingbot.com#the-pieces-you-will-use)

| Piece | What it is | In this course |
| --- | --- | --- |
| Robot Framework | The runner: parses `.robot` files, runs keywords, writes the log and report | the `robot` command |
| BuiltIn | Standard library, always loaded: `Should Be Equal`, `Log`, `Set Variable`, `Run Keyword If`... | everywhere |
| SeleniumLibrary | Keywords on top of Selenium WebDriver | chapters 2 to 4 |
| Browser library | Keywords on top of Playwright | chapter 5 |
| Pabot | A parallel runner for Robot Framework suites | chapter 7 |
| Your own keywords | Written in `.robot` or `.resource` files, or in Python | from chapter 3 on |

The same structure covers mobile apps (AppiumLibrary, see the [TestingBot Appium guide for Robot Framework](https://testingbot.com/support/app-automate/appium/robotframework)) and APIs (RequestsLibrary), which is a large part of the framework's appeal: one syntax and one report format across very different kinds of tests.

## When Robot Framework fits, and when it does not[#](https://testingbot.com#when-robot-framework-fits-and-when-it-does-not)

Robot Framework is a good choice when:

- **People who do not write code need to read or write tests.** A well-written suite reads like a specification. Testers, analysts and product owners can review it, and often contribute to it, without learning Python.
- **You test across layers.** Web, mobile, API, database and SSH keywords all live in the same suite and produce one report.
- **You want a report out of the box.** Every run writes a detailed HTML log, with every keyword, argument, timing and screenshot, without installing anything extra.
- **Your team already knows Python** , because anything the libraries lack becomes a small Python keyword library (chapter 4 writes one).

It is a weaker fit when:

- **The team is all developers who prefer code.** If everyone is comfortable in pytest or Playwright Test, the keyword layer adds indirection without adding readers. The [Selenium with Python and pytest](https://testingbot.com/resources/courses/selenium-python) and [Playwright](https://testingbot.com/resources/courses/playwright) courses cover those routes.
- **Tests need complex logic.** Robot Framework has `IF`, `FOR` and `WHILE`, but heavy branching in `.robot` files becomes hard to read. Push that logic into Python keywords and keep the test cases flat.

A new test fails with `No keyword with name 'Input Text id:my-text-id' found`. What is the most likely cause?

 SeleniumLibrary is not installed Only one space separates the keyword name from its first argument Locators must be written without a strategy prefix

Robot Framework splits cells on two or more spaces. With a single space the locator becomes part of the keyword name, so the framework looks for a keyword that does not exist. A missing library gives a different error: the library import fails first.

## SeleniumLibrary or Browser library?[#](https://testingbot.com#seleniumlibrary-or-browser-library)

Both drive real browsers and both run on TestingBot. The course teaches SeleniumLibrary first, because it is the library most existing suites use and its keywords map one to one onto WebDriver, then shows the same tests in the Browser library.

| | SeleniumLibrary | Browser library |
| --- | --- | --- |
| Engine | Selenium WebDriver | Playwright (needs Node.js) |
| Waiting | explicit `Wait Until ...` keywords | built-in auto-waiting on every action |
| Assertions | `... Should ...` keywords | getters with an assertion operator, `Get Text id=message == Received!` |
| Remote grid | `remote_url=` to a WebDriver hub | `Connect To Browser` to a Playwright endpoint |

## What you'll build[#](https://testingbot.com#what-you-ll-build)

| Chapter | You add |
| --- | --- |
| 1. Install | a virtual environment, the libraries, `rfbrowser init` |
| 2. First test | a SeleniumLibrary test, locators, waits, and the log file |
| 3. Variables, resources and keywords | readable tests built from your own keywords |
| 4. Run on TestingBot | remote browsers, `tb:options`, build names, pass/fail status |
| 5. Browser library | the same tests on Playwright, locally and on TestingBot |
| 6. Data-driven tests | test templates for many inputs |
| 7. Tags and Pabot | selecting tests and running them in parallel |
| 8. Reports and CI | output files, `rebot`, GitHub Actions |
| 9. Knowledge check | ten questions on the decisions the course made |

The final project:

```
robot-course/
  requirements.txt
  libraries/
    TestingBot.py builds remote browser options
  resources/
    browser.resource open/close the browser, locally or on the grid
    web_form.resource keywords for the web form page
    login.resource keywords for the login page
    playwright.resource the Browser library version
  tests/
    web_form.robot
    login.robot
    playwright/
      web_form.robot
```

The tests use two public practice pages: the Selenium project's [web form](https://www.selenium.dev/selenium/web/web-form.html) and the [login page](https://the-internet.herokuapp.com/login) of The Internet, a site built for exactly this kind of exercise.

## Prerequisites[#](https://testingbot.com#prerequisites)

- **Python 3.11 or newer.** The Browser library 21 requires 3.11; Robot Framework itself runs on older versions. The examples ran on Python 3.13.
- **Node.js 22, 24 or 26** for the Browser library in chapter 5 (or its `[bb]` extra, which bundles Node).
- Chrome installed locally; Firefox too if you want to follow the cross-browser parts.
- No Python experience is required for most of the course. Chapter 4 has a 20-line Python file, explained line by line.

The certificate at the end of this course is issued by TestingBot, not by the Robot Framework Foundation: it records that you passed the exam and ran your own suite on the grid.

[Next · Chapter 2 Install Robot Framework in a Python virtual environment](https://testingbot.com/resources/courses/robot-framework/install-robot-framework)

On this page

1. [What Robot Framework is](https://testingbot.com#what-robot-framework-is)
2. [The pieces you will use](https://testingbot.com#the-pieces-you-will-use)
3. [When Robot Framework fits, and when it does not](https://testingbot.com#when-robot-framework-fits-and-when-it-does-not)
4. [SeleniumLibrary or Browser library?](https://testingbot.com#seleniumlibrary-or-browser-library)
5. [What you'll build](https://testingbot.com#what-you-ll-build)
6. [Prerequisites](https://testingbot.com#prerequisites)

Certification

Earn the free, resume-worthy TestingBot Robot Framework Certification for this course.

[How it works](https://testingbot.com/resources/courses/robot-framework/certification)

## Other free courses

- [Selenium Locators and Locator Strategies A free course on Selenium locators and locator strategies: CSS selectors, XPath, role-based and test-id loc...](https://testingbot.com/resources/courses/locator-strategies)
- [Accessibility Testing Tutorial: WCAG 2.2 A free, hands-on accessibility testing course: WCAG 2.2 in practice, manual keyboard and screen reader chec...](https://testingbot.com/resources/courses/accessibility-testing)
- [Mobile App Testing: From First Test to CI A free, hands-on mobile app testing course: emulators vs real devices, Appium vs Espresso vs XCUITest vs Ma...](https://testingbot.com/resources/courses/mobile-app-testing)
- [Flaky Tests: Find, Fix and Prevent Fix flaky tests for good: measure them, then remove the four root causes (waits, shared data, test order, r...](https://testingbot.com/resources/courses/flaky-tests)

[Browse all courses](https://testingbot.com/resources/courses)
