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 let Lynqa, Smartesting's AI test-execution agent, execute them autonomously. No need to implement local keywords, simply provide your web application's URL. Lynqa analyses your test steps and application UI, then runs your test cases as a user would, producing comprehensive execution evidence. UI changes are handled automatically, eliminating the need for test automation maintenance.

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.0b2.tar.gz (48.5 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.0b2-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file robotframework_lynqa-0.1.0b2.tar.gz.

File metadata

  • Download URL: robotframework_lynqa-0.1.0b2.tar.gz
  • Upload date:
  • Size: 48.5 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.0b2.tar.gz
Algorithm Hash digest
SHA256 846bedd248ea66d5111869d71ba5ed09e97870ace249429b7fdb3bfc8cfc4fb6
MD5 71f5bbae51663d46060414b2ae11d66b
BLAKE2b-256 0b246df7d991dd831a0f8e5d03ad57abd0265b06251d537a88572cf4fafe75c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for robotframework_lynqa-0.1.0b2.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.0b2-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_lynqa-0.1.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 8d3370af53938dc7117e2afb4d2576275c39dc8b987f2bdb8ddd04ef195683d1
MD5 00a4c514b241f9f1ca10f41d20ff03d8
BLAKE2b-256 1bd89ff0e334a1a668275c3b0dcecc9cadc75305bed3145e5c190b1e9354558c

See more details on using hashes here.

Provenance

The following attestation bundles were made for robotframework_lynqa-0.1.0b2-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