Robot Framework library for the Lynqa test execution agent
Project description
robotframework-lynqa
robotframework-lynqa is a Robot Framework library for the Lynqa test execution AI Agent.
Write your scenarios in plain Gherkin and have them executed by Lynqa against your web application, instead of by locally defined keywords. It builds on pylynqa, the Python client for the Lynqa REST API.
Disclaimers
[!IMPORTANT] This is an unofficial project. robotframework-lynqa is not affiliated with, endorsed by, or maintained by Smartesting, the company that develops Lynqa. "Lynqa" and "Smartesting" are the property of their respective owners.
[!NOTE] Lynqa is a commercial product. Using this library requires a Lynqa account and an API key, and running tests consumes paid credits. See https://my.lynqa.smartesting.com/integration to create an API key.
Requirements
- Python 3.9+
- Robot Framework 7+
- A Lynqa account and API key (test executions consume credits)
Installation
pip install robotframework-lynqa
At this early stage the package may not be published on PyPI yet. In the meantime you can install it from source:
pip install git+https://github.com/petit-robot/robotframework-lynqa.git
Quick start
Import the library and write your test cases with the Given/When/Then keywords, each taking a single
natural-language step:
*** Settings ***
Library robotframework_lynqa.LynqaLibrary api_key=%{LYNQA_API_KEY}
*** Variables ***
${LYNQA_URL} https://lemonde.fr
*** Test Cases ***
Search An Article
Given the website is open
When I search an article on "france ia"
Then there is an article on "IA agentique"
The scenario is captured and submitted to Lynqa, which runs it against the site at ${LYNQA_URL} and reports each step's
result back to Robot Framework.
Configuration variables
| Variable | Required | Description |
|---|---|---|
${LYNQA_URL} |
Yes | URL of the web application under test. |
${LYNQA_LANGUAGE} |
No | Language of the user running the scenario. |
${LYNQA_DATETIME} |
No | Date and time of the run (defaults to the current local date and time). |
&{LYNQA_SECRETS} |
No | Mapping of secret name to value (e.g. login=superu password=TrèsS3cr3t). |
Collaboration
This project is at an early stage, so external contributions are limited for now. This may be opened up more broadly later as the project matures.
In the meantime, you are very welcome to open an issue to report a bug or ask any question.
License
Licensed under the Apache License 2.0.
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_lynqa-0.1.0b1.tar.gz.
File metadata
- Download URL: robotframework_lynqa-0.1.0b1.tar.gz
- Upload date:
- Size: 48.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcb62596ca356a0537a853c10bbd4d5662c0c7e77ff4ee3ae3ff76abdf7e1bcd
|
|
| MD5 |
b3d7d2aec2c715df70d30d696b66fa17
|
|
| BLAKE2b-256 |
9da8a6a3ac534683f022db0fe1a6051b4876eacf844131236421e31a328ec78a
|
Provenance
The following attestation bundles were made for robotframework_lynqa-0.1.0b1.tar.gz:
Publisher:
release.yml on petit-robot/robotframework-lynqa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
robotframework_lynqa-0.1.0b1.tar.gz -
Subject digest:
dcb62596ca356a0537a853c10bbd4d5662c0c7e77ff4ee3ae3ff76abdf7e1bcd - Sigstore transparency entry: 1995438017
- Sigstore integration time:
-
Permalink:
petit-robot/robotframework-lynqa@9a93c67e41ebd36f5428547c8b7cf7d6e3b529b8 -
Branch / Tag:
refs/tags/v0.1.0b1 - Owner: https://github.com/petit-robot
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9a93c67e41ebd36f5428547c8b7cf7d6e3b529b8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file robotframework_lynqa-0.1.0b1-py3-none-any.whl.
File metadata
- Download URL: robotframework_lynqa-0.1.0b1-py3-none-any.whl
- Upload date:
- Size: 23.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3b92c72de3547ae3692c3e182b30f13cab8fefe7a54a3c927f80146249a0e2a
|
|
| MD5 |
dea0bec1f7d49ab29d10e52dbed2ce23
|
|
| BLAKE2b-256 |
ec13850818923714e3d8f72f45f8be79b7a5d58154be1b8a0ecea4efe2380a8c
|
Provenance
The following attestation bundles were made for robotframework_lynqa-0.1.0b1-py3-none-any.whl:
Publisher:
release.yml on petit-robot/robotframework-lynqa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
robotframework_lynqa-0.1.0b1-py3-none-any.whl -
Subject digest:
f3b92c72de3547ae3692c3e182b30f13cab8fefe7a54a3c927f80146249a0e2a - Sigstore transparency entry: 1995438133
- Sigstore integration time:
-
Permalink:
petit-robot/robotframework-lynqa@9a93c67e41ebd36f5428547c8b7cf7d6e3b529b8 -
Branch / Tag:
refs/tags/v0.1.0b1 - Owner: https://github.com/petit-robot
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9a93c67e41ebd36f5428547c8b7cf7d6e3b529b8 -
Trigger Event:
release
-
Statement type: