Skip to content

cuber-it/rf-ai-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RF AI Tools

AI-powered testing tools for Robot Framework — delivered as MCP server and RF library.

Features

  • Self-Healing Tests — AI repairs broken selectors automatically
  • Test Generation — Generate .robot files from natural language
  • Intelligent Reporting — AI analyzes failures, finds patterns, suggests fixes
  • MCP Server — Use all tools from any MCP client (Claude Desktop, gateway, etc.)
  • RF Library — Use all tools directly as Robot Framework keywords

Installation

pip install robotframework-ai-tools

Usage as Robot Framework Library

*** Settings ***
Library    src.rf_library    api_key=%{ANTHROPIC_API_KEY}

*** Test Cases ***
Heal A Broken Selector
    ${healed}=    AI Heal Selector    id=old-submit-btn    ${PAGE_SOURCE}
    Log    New selector: ${healed}

Generate A Test
    ${test}=    AI Generate Test    User logs in with valid credentials
    Log    ${test}

Analyze A Failure
    ${analysis}=    AI Analyze Failure    Element not found: id=submit-btn
    Log    ${analysis}

Usage as MCP Server

# stdio (Claude Desktop)
python src/main.py serve

# Streamable HTTP
python src/main.py serve --http 12210

Claude Desktop config:

{
  "mcpServers": {
    "rf-ai-tools": {
      "command": "python",
      "args": ["src/main.py", "serve"]
    }
  }
}

Configuration

  • ANTHROPIC_API_KEY — required, Anthropic API key
  • RF_AI_MODEL — optional, model to use (default: claude-sonnet-4-20250514)

License

Apache 2.0

About

AI-powered testing for Robot Framework — self-healing selectors, test generation, and failure analysis. Use as RF library or MCP server.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors