Custom AI-powered library for Robot Framework
Project description
🤖 RoboAI – AI-Powered Library for Robot Framework
RoboAI is a custom AI library for Robot Framework that integrates with OpenAI to bring intelligence to your automation tests. You can ask AI questions, classify text, generate dynamic data, translate input, intelligently find elements, and more — all directly within your .robot test cases.
🚀 Features
- 💬 Ask GPT anything from your tests
- 🧠 Classify text with AI logic (e.g., logs, messages, errors)
- 🌍 Translate text into different languages and input into fields
- ⬇️ Find elements within a parent section using AI
- 🔍 Auto-correct XPath if the given one fails
- 🔑 Easy-to-use custom keywords for Robot Framework
- ♻️ Extendable with more AI tools (Claude, Gemini, local LLMs)
🛠️ Installation
pip install robotframework-roboai
💡 Example Usage
*** Settings ***
Library RoboAI
Library SeleniumLibrary
*** Test Cases ***
Ask Something
${response}= Ask GPT What is the capital of France?
Log ${response}
Translate And Input
Input Text In Other Language xpath://input[@id='name'] Hello Spanish
Find Element In Section
${xpath}= Extract XPath From Section Using AI xpath://div[@class='form'] A button that submits the form //button
Click Element xpath=${xpath}
Handle Broken XPath
${corrected_xpath}= Fix XPath Using AI //button[@id='submit']
Click Element xpath=${corrected_xpath}
📊 Roadmap
- Basic GPT integration
- Text classification
- Translation support
- AI element discovery from sections
- XPath correction
- Support for local LLMs
- Caching + learning from successful XPath resolutions
🌐 License
MIT
Made with ❤️ by RoboAI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robotframework_roboai-0.2.2.tar.gz.
File metadata
- Download URL: robotframework_roboai-0.2.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e46e0e4f68840591bb9dfa8d87422043f7ad82b835decabac3ffd132e43d0e9c
|
|
| MD5 |
056b89747fb1f07d892476102e68655c
|
|
| BLAKE2b-256 |
c9301ec5353d828630b1043c6b2260adacc578fabc456ec469410ae63b8a2f2d
|
File details
Details for the file robotframework_roboai-0.2.2-py3-none-any.whl.
File metadata
- Download URL: robotframework_roboai-0.2.2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2403680561300e38ba5adfef6a158b9e1b123e90066658ab0293c3e0ddd3c20
|
|
| MD5 |
728f592992534860505224e740ae1e05
|
|
| BLAKE2b-256 |
80af44abe417229787e86f413ce4a2794b382e23e19da5b4eb8a2ed9d12dd572
|