Skip to main content

Generic Robot Framework library for asynchronous keyword execution

Project description

Robot Framework AsyncLibrary

Generic Robot Framework library for asynchronous keyword execution

Installation

Install the latest release via PyPi using pip:

pip install robotframework-async-keyword

Or add to your conda.yaml file:

- pip:
    - robotframework-async-keyword

In oder to help with development you can directly install from GitHub via:

pip install git+https://github.com/rlehfeld/robotframework-async-keyword.git

Or add to your conda.yaml file:

- pip:
    - git+https://github.com/rlehfeld/robotframework-async-keyword.git

Usage

  1. Import into a test suite with:

    Library AsyncLibrary
  2. To run a keyword asynchronously:

    ${handle}    Async Run    some keyword    first argument    second argument
  3. To retrieve the return value, a blocking call to Async Get is called with the handle:

    ${return_value}    Async Get    ${handle}
  4. To wait with a timeout use

    ${return_value}    Async Get    ${handle}    timeout=5 sec

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_async_keyword-1.1.10.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distribution

Supported by

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