Robot Framework
Keyword-driven open-source automation framework. Readable tests for collaboration between developers, testers, and business stakeholders.
Overview
Robot Framework is a generic open-source automation framework developed at Nokia Networks in 2005 and now maintained by the Robot Framework Foundation. It uses a keyword-driven testing approach where tests are written in a tabular format (text files, TSV, or reStructuredText) that reads like natural language. This makes tests accessible to non-technical stakeholders while remaining executable by machines.
Robot Framework is particularly popular in telecommunications, embedded systems, and organisations where business analysts need to review or contribute to test cases. It is not a tool itself but a framework that integrates with Selenium, Appium, REST libraries, and many other tools via its extensive plugin ecosystem.
What it's used for
Robot Framework is the right choice when:
- Business readability is critical: Tests written in plain English that stakeholders can review and approve.
- Embedded or hardware testing: Strong support for testing physical devices, serial ports, and protocols.
- Multi-tool integration needed: One framework that orchestrates Selenium, API tests, database checks, and file operations.
- Telecommunications or industrial systems: Native support for protocols like SSH, Telnet, SNMP, and Modbus.
Pros & Cons
Pros
- Highly readable keyword-driven syntax
- Extensive library ecosystem (Selenium, Appium, REST, SSH, database)
- Free and open source with active community
- Runs on Python/Jython/IronPython — easy to extend
- Great for acceptance test-driven development (ATDD)
Cons
- Not as fast or modern as Playwright/Cypress for web testing
- Tabular syntax can become unwieldy for large suites
- Debugging is harder than in IDE-integrated tools
- Smaller talent pool than Selenium/Playwright
- Web testing relies on SeleniumLibrary — inherits Selenium limitations
Platforms & Integrations
Robot Framework runs on Windows, macOS, and Linux. It requires Python (3.7+). Tests can target web, mobile, API, desktop, and embedded systems depending on installed libraries.
Pricing
| Tier | Cost | Includes |
|---|---|---|
| Open Source | Free | Framework, all standard libraries, community support |
| Robot Framework Foundation | Free membership | Governance, roadmap influence, conference access |
NZ Context
Robot Framework has a niche but loyal following in NZ telecommunications and industrial automation. Spark and Chorus have used Robot Framework for network equipment testing. For web-focused NZ teams, Robot Framework is less common than Playwright or Selenium, but it remains an excellent choice for teams practicing ATDD or testing beyond the browser.
Alternatives
- Cucumber — BDD-focused with Gherkin syntax. Better for behaviour-driven development.
- Gauge — Specification-driven testing with markdown-like syntax.
- Playwright — Modern web automation. Better DX and performance for browser testing.