robot-framework-skill
This skill enables you to create Robot Framework test cases with keyword-driven automation for both web interfaces and APIs. It leverages structured syntax to build maintainable, reusable test scenarios that integrate seamlessly into your testing workflows.
robot-framework-skill teaches you to write Robot Framework tests using a keyword-driven syntax that makes test cases readable and maintainable. You structure your tests with clear sections (Settings, Variables, Test Cases, Keywords) and use built-in or custom keywords to define test steps. Robot Framework's human-readable format allows both technical and non-technical team members to understand test logic, and the skill covers everything from basic test case creation to advanced custom keyword development in Python.
AI-generated summary based on this skill's SKILL.md
Install
LambdaTest/agent-skills/robot-framework-skill · repository language: Python
git clone https://github.com/LambdaTest/agent-skills
cp -r agent-skills/robot-framework-skill ~/.claude/skills/robot-framework-skillFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How to write robot framework tests?
robot-framework-skill teaches you to write Robot Framework tests using a keyword-driven syntax that makes test cases readable and maintainable. You structure your tests with clear sections (Settings, Variables, Test Cases, Keywords) and use built-in or custom keywords to define test steps. Robot Framework's human-readable format allows both technical and non-technical team members to understand test logic, and the skill covers everything from basic test case creation to advanced custom keyword development in Python.
What is robot framework keyword driven testing and how do I set it up?
robot-framework-skill covers keyword-driven testing as Robot Framework's core approach: you compose test cases by calling keywords (reusable test actions) rather than writing procedural code. Setup involves installing Robot Framework, configuring libraries like SeleniumLibrary for browser automation and RequestsLibrary for API testing, and organizing your .robot test files with proper Settings sections. This skill guides you through initial configuration, library imports, and best practices for structuring keywords so your tests remain modular and easy to maintain across projects.
How do I create .robot test files with robot framework?
robot-framework-skill shows you how to create .robot test files by establishing the standard Robot Framework file structure with four main sections: Settings (library imports and test setup), Variables (test data), Test Cases (your actual tests using keywords), and Keywords (custom reusable actions). Each test case is a sequence of keyword calls with arguments, and the skill demonstrates proper indentation, naming conventions, and organization patterns. You'll learn to use built-in keywords, import external libraries, and write custom keywords in Python to handle complex test logic.
Can robot framework be used for API testing with requests?
Yes, robot-framework-skill covers robot framework API testing with requests through RequestsLibrary integration. You can send HTTP requests (GET, POST, PUT, DELETE), validate response status codes and body content, and chain API calls in data-driven test templates. The skill teaches you to set up RequestsLibrary, construct requests with headers and payloads, parse JSON responses, and combine API tests with web UI tests in the same test suite. This enables end-to-end automation scenarios where you verify backend behavior and frontend interactions in a single keyword-driven workflow.
How do I create data-driven test templates and custom keywords for reusable test logic?
robot-framework-skill enables you to build data-driven test templates by using Robot Framework's Variables section and external data files (CSV, Excel, JSON) to parameterize test inputs. You define custom keywords in Python that accept arguments, perform complex logic, and return results, then call these keywords multiple times with different data sets. The skill covers keyword organization, variable scoping, and patterns for creating a library of reusable actions—allowing you to run the same test scenario against different datasets without duplicating test case code.
How does robot-framework-skill support cloud-based cross-browser testing with LambdaTest integration?
robot-framework-skill guides you through configuring cloud-based cross-browser testing by integrating LambdaTest with SeleniumLibrary. You set up remote browser capabilities, pass LambdaTest credentials and desired browser/OS combinations to Selenium, and execute your Robot Framework tests against cloud-hosted browsers. This approach eliminates the need to maintain local browser instances, enables parallel execution across multiple browser versions simultaneously, and generates detailed test reports with screenshots and video recordings from LambdaTest—all while keeping your keyword-driven test cases unchanged.
SKILL.md
rendered from the published skill — quoted content, verbatim
Robot Framework Skill
For TestMu AI cloud execution, see reference/cloud-integration.md and shared/testmu-cloud-reference.md.
Core Patterns
Basic Test (tests/login.robot)
```robot *** Settings *** Library SeleniumLibrary Suite Setup Open Browser ${BASE_URL} chrome Suite Teardown Close All Browsers
*** Variables *** ${BASE_URL} http://localhost:3000 ${EMAIL} user@test.com ${PASSWORD} password123
*** Test Cases *** Login With Valid Credentials Go To ${BASE_URL}/login Wait Until Element Is Visible id:email 10s Input Text id:email
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 4 files
robot-framework-skill/SKILL.md
robot-framework-skill/reference/advanced-patterns.md
robot-framework-skill/reference/cloud-integration.md
robot-framework-skill/reference/playbook.md