Skip to main content

Robot Framework library for the Lynqa test execution agent

Project description

robotframework-lynqa

CI Acceptance test License Python

robotframework-lynqa is a Robot Framework library for the Lynqa test execution AI Agent.

Robot Framework/Lynqa connector

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework_lynqa-0.1.0b1.tar.gz (48.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robotframework_lynqa-0.1.0b1-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

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

Hashes for robotframework_lynqa-0.1.0b1.tar.gz
Algorithm Hash digest
SHA256 dcb62596ca356a0537a853c10bbd4d5662c0c7e77ff4ee3ae3ff76abdf7e1bcd
MD5 b3d7d2aec2c715df70d30d696b66fa17
BLAKE2b-256 9da8a6a3ac534683f022db0fe1a6051b4876eacf844131236421e31a328ec78a

See more details on using hashes here.

Provenance

The following attestation bundles were made for robotframework_lynqa-0.1.0b1.tar.gz:

Publisher: release.yml on petit-robot/robotframework-lynqa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file robotframework_lynqa-0.1.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_lynqa-0.1.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3b92c72de3547ae3692c3e182b30f13cab8fefe7a54a3c927f80146249a0e2a
MD5 dea0bec1f7d49ab29d10e52dbed2ce23
BLAKE2b-256 ec13850818923714e3d8f72f45f8be79b7a5d58154be1b8a0ecea4efe2380a8c

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page